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.001426/0.001426, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 191.5 kB / 16.67 MB, free: 6.574 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.698/2.698, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.89 kB / 1.019 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4384, allocations: 151.6 MB / 1.167 GB, free: 6.992 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002572/0.441, allocations: 1.431 MB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002804/0.4413, allocations: 96.58 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.4413, allocations: 0 / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.4414, allocations: 3.984 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.4414, allocations: 3.938 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.4416, allocations: 19.92 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.4417, allocations: 27.92 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.4418, allocations: 7.984 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.4419, allocations: 19.92 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.4419, allocations: 15.92 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.442, allocations: 0 / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.395e-05/0.442, allocations: 19.92 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.4421, allocations: 7.984 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.4421, allocations: 7.938 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.4422, allocations: 31.84 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4422, allocations: 0 / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4422, allocations: 4 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4422, allocations: 0 / 1.168 GB, free: 5.277 MB / 0.92 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.0004455/0.4427, allocations: 351.3 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4427, allocations: 15.97 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.4429, allocations: 8.922 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.443, allocations: 164.4 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.4431, allocations: 384 / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.4431, allocations: 4.375 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.4433, allocations: 58.22 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4433, allocations: 4.188 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.4433, allocations: 7.938 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4433, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.4435, allocations: 43.89 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.4439, allocations: 272.9 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.4441, allocations: 54.48 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4442, allocations: 28.89 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4443, allocations: 0 / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.4443, allocations: 42.5 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4443, allocations: 0 / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004059/0.4447, allocations: 97.62 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.4448, allocations: 55.41 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.4448, allocations: 101.8 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.4449, allocations: 29.7 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.4449, allocations: 84.14 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.4449, allocations: 3.953 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.445, allocations: 21.84 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.4451, allocations: 314.8 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4452, allocations: 19.98 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.4453, allocations: 27.97 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.4455, allocations: 52.81 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4455, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002361/0.4458, allocations: 81.59 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4458, allocations: 7.984 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.4458, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4458, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.4459, allocations: 12.02 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4459, allocations: 4 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.446, allocations: 19.83 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.446, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 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 7.879e-05/0.4461, allocations: 121.7 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.4461, allocations: 4 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.4462, allocations: 3.531 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4462, allocations: 0 / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.4462, allocations: 4.188 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4462, allocations: 4 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.4464, allocations: 173.6 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4464, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.4465, allocations: 11.98 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.4465, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4465, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4465, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4465, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.4468, allocations: 179.4 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.4468, allocations: 81.06 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.4469, allocations: 8 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.447, allocations: 7.984 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.447, allocations: 3.984 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.447, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.4471, allocations: 91.3 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.944e-06/0.4471, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000228/0.4473, allocations: 11.94 kB / 1.171 GB, free: 2.312 MB / 0.92 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.0001048/0.4474, allocations: 95.25 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.4477, allocations: 51.94 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4477, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.4478, allocations: 28.05 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.4481, allocations: 7.938 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.4485, allocations: 117.4 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.4487, allocations: 0.6767 MB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.04e-05/0.4488, allocations: 8.047 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.4488, allocations: 11.44 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.4488, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of Templates: time 0.002467/0.4513, allocations: 0.572 MB / 1.172 GB, free: 0.6953 MB / 0.92 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=480 -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