Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005401/0.005401, allocations: 98.27 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 197.6 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.591/2.591, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 67.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3135, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001573/0.3151, allocations: 0.5894 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.3154, allocations: 103.5 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.3154, allocations: 4 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.3154, allocations: 0 / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.3155, allocations: 0 / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.3157, allocations: 15.92 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.3157, allocations: 8 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.3158, allocations: 4 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.3158, allocations: 0 / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.3159, allocations: 7.984 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3159, allocations: 4 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/0.3159, allocations: 15.98 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.316, allocations: 7.922 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.316, allocations: 0 / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.184e-05/0.3161, allocations: 15.98 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3161, allocations: 3.938 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3161, allocations: 4 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3161, allocations: 0 / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003586/0.3165, allocations: 319.5 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3165, allocations: 12.03 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.3166, allocations: 42.69 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.3167, allocations: 8.922 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3168, allocations: 162.2 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3168, allocations: 8.312 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3168, allocations: 4.375 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.317, allocations: 34.25 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.317, allocations: 3.938 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.317, allocations: 4 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.317, allocations: 4 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.3171, allocations: 15.97 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.3172, allocations: 149.7 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3174, allocations: 42.53 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.3175, allocations: 16.92 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3175, allocations: 7.984 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.3175, allocations: 30.56 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3175, allocations: 0 / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002065/0.3177, allocations: 61.55 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.3178, allocations: 51.41 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.01e-05/0.3178, allocations: 89.86 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3179, allocations: 25.7 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.3179, allocations: 88.14 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3179, allocations: 11.94 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.318, allocations: 9.719 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3181, allocations: 318.8 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.3181, allocations: 3.984 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/0.3182, allocations: 4 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.57e-05/0.3183, allocations: 24.84 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3183, allocations: 0 / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000109/0.3184, allocations: 57.58 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.3184, allocations: 4 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3184, allocations: 3.938 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3184, allocations: 0 / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.3188, allocations: 43.92 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.3201, allocations: 1.408 MB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.3202, allocations: 7.969 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.3202, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.868e-05/0.3203, allocations: 117.9 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-06/0.3203, allocations: 3.938 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.3203, allocations: 7.5 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3203, allocations: 3.938 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-07/0.3203, allocations: 0 / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.3203, allocations: 0 / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.3204, allocations: 157.9 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3204, allocations: 0 / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.3208, allocations: 55.92 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3208, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.3208, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.322, allocations: 1.416 MB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.322, allocations: 0 / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3222, allocations: 69.16 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.3222, allocations: 77.11 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.3222, allocations: 11.92 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.377e-05/0.3223, allocations: 0 / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.3223, allocations: 8 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.3223, allocations: 0 / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.3223, allocations: 79.28 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3223, allocations: 0 / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001743/0.3225, allocations: 0 / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004324/0.323, allocations: 0.6169 MB / 1.226 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.3234, allocations: 63.84 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3234, allocations: 0 / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.3236, allocations: 43.95 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.3238, allocations: 1.547 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.3241, allocations: 120.3 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3244, allocations: 0.6729 MB / 1.227 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.3245, allocations: 7.984 kB / 1.227 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.3245, allocations: 11.44 kB / 1.227 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3245, allocations: 0 / 1.227 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/2.348, allocations: 1.291 MB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/14.9, allocations: 12.55 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches