Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_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.001184/0.001185, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001434/0.001434, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.515/1.515, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.131, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00313/1.135, allocations: 1.432 MB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000332/1.135, allocations: 95.75 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/1.135, allocations: 0 / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/1.135, allocations: 3.938 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/1.135, allocations: 7.984 kB / 1.228 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/1.135, allocations: 15.92 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.308e-05/1.135, allocations: 23.92 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/1.136, allocations: 15.98 kB / 1.228 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/1.136, allocations: 7.938 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/1.136, allocations: 15.92 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/1.136, allocations: 4 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/1.136, allocations: 15.98 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/1.136, allocations: 3.938 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/1.136, allocations: 11.94 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/1.136, allocations: 35.88 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.136, allocations: 0 / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.432e-06/1.136, allocations: 0 / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.136, allocations: 4 kB / 1.228 GB, free: 11.75 MB / 0.9512 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.0005156/1.136, allocations: 347.9 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.137, allocations: 8.031 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/1.137, allocations: 12.92 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.137, allocations: 176.2 kB / 1.229 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/1.137, allocations: 384 / 1.229 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/1.137, allocations: 8.375 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/1.137, allocations: 62.17 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/1.137, allocations: 192 / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.137, allocations: 3.938 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.137, allocations: 0 / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/1.137, allocations: 51.94 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/1.138, allocations: 257 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/1.138, allocations: 62.41 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/1.138, allocations: 28.91 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/1.138, allocations: 4 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/1.138, allocations: 30.56 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 3.367e-06/1.138, allocations: 4 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004138/1.139, allocations: 101.6 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/1.139, allocations: 51.41 kB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/1.139, allocations: 105.8 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/1.139, allocations: 29.7 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/1.139, allocations: 84.27 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/1.139, allocations: 7.938 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/1.139, allocations: 17.72 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.139, allocations: 310.8 kB / 1.23 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/1.139, allocations: 31.91 kB / 1.23 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/1.139, allocations: 19.98 kB / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/1.139, allocations: 52.88 kB / 1.23 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.139, allocations: 0 / 1.23 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002359/1.14, allocations: 85.53 kB / 1.23 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.14, allocations: 4 kB / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.14, allocations: 4 kB / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.14, allocations: 4.031 kB / 1.23 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/1.14, allocations: 7.984 kB / 1.23 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.14, allocations: 4 kB / 1.23 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/1.14, allocations: 15.92 kB / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/1.14, allocations: 3.938 kB / 1.23 GB, free: 9.57 MB / 0.9512 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.416e-05/1.14, allocations: 105.8 kB / 1.23 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/1.14, allocations: 7.938 kB / 1.23 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/1.14, allocations: 11.53 kB / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.14, allocations: 3.984 kB / 1.23 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.14, allocations: 0 / 1.23 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/1.14, allocations: 81.11 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/1.14, allocations: 0 / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/1.14, allocations: 7.984 kB / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/1.14, allocations: 0 / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003102/1.141, allocations: 172.8 kB / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003495/1.141, allocations: 254.7 kB / 1.231 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001045/1.141, allocations: 23.97 kB / 1.231 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.491e-05/1.141, allocations: 87.59 kB / 1.231 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of Backend: time 7.11e-07/1.141, allocations: 0 / 1.231 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004812/1.142, allocations: 106.4 kB / 1.231 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005172/1.142, allocations: 0.5602 MB / 1.231 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of Templates: time 0.00371/1.146, allocations: 0.9867 MB / 1.232 GB, free: 7.078 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches