Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001634/0.001634, allocations: 195.3 kB / 16.14 MB, free: 6.633 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437 MB / 0.71 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.91 kB / 0.8686 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.67/0.672, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003422/0.6754, allocations: 1.519 MB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.6758, allocations: 84.66 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.6759, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.6759, allocations: 7.922 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-05/0.676, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.6762, allocations: 15.94 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.567e-05/0.6763, allocations: 27.91 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.6764, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.6765, allocations: 15.92 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.6765, allocations: 15.92 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.6765, allocations: 4 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.6766, allocations: 15.98 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.6766, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.6767, allocations: 7.938 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.6768, allocations: 35.88 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6768, allocations: 0 / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6768, allocations: 4 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6768, allocations: 3.938 kB / 1.018 GB, free: 1.051 MB / 0.7637 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.0005442/0.6774, allocations: 346.9 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6774, allocations: 12.03 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.6776, allocations: 12.92 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.6778, allocations: 164.3 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.6778, allocations: 4.375 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.6778, allocations: 4.375 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.678, allocations: 54.22 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.6781, allocations: 4.188 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.6781, allocations: 7.938 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6781, allocations: 0 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.6783, allocations: 43.95 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.6788, allocations: 268.8 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.679, allocations: 58.48 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.6792, allocations: 28.89 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.6792, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.6792, allocations: 30.56 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6792, allocations: 0 / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004575/0.6797, allocations: 109.6 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.6798, allocations: 51.41 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.6799, allocations: 109.8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6799, allocations: 25.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.68, allocations: 80.14 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.68, allocations: 8.031 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.6801, allocations: 21.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6802, allocations: 310.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.6804, allocations: 27.91 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/0.6805, allocations: 23.98 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.6807, allocations: 52.88 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6807, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002445/0.6809, allocations: 93.45 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.681, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.681, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.681, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.6811, allocations: 16.02 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.6811, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.6812, allocations: 11.98 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.6812, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.6813, allocations: 110.3 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.6814, allocations: 7.906 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.6814, allocations: 7.531 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6814, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6814, allocations: 4 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6814, allocations: 0 / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.6816, allocations: 169.6 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.6817, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.6817, allocations: 8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.6818, allocations: 7.969 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.6818, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.6818, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6818, allocations: 3.938 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.6821, allocations: 179.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.6822, allocations: 81.09 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.6822, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.6823, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.6824, allocations: 3.984 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.6824, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.189e-05/0.6824, allocations: 95.56 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6824, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002135/0.6827, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.6828, allocations: 99.23 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.6831, allocations: 55.89 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6831, allocations: 8 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.6832, allocations: 27.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.6836, allocations: 7.938 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.6839, allocations: 127 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.6843, allocations: 0.681 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.6843, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.6844, allocations: 11.44 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.6844, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.002989/0.6874, allocations: 0.4983 MB / 1.022 GB, free: 12.55 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches