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.001673/0.001673, allocations: 111.8 kB / 16.42 MB, free: 6.031 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.00256/0.00256, allocations: 187.8 kB / 17.35 MB, free: 5.602 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.443/1.443, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.579/2.579, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003401/1.12, allocations: 1.441 MB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003585/1.121, allocations: 95.03 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/1.121, allocations: 0 / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/1.121, allocations: 3.938 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.572e-05/1.121, allocations: 3.938 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/1.121, allocations: 15.97 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/1.121, allocations: 31.92 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/1.121, allocations: 3.984 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.421e-05/1.121, allocations: 11.94 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/1.121, allocations: 11.98 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/1.121, allocations: 4 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/1.121, allocations: 11.98 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/1.121, allocations: 7.938 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/1.121, allocations: 11.94 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/1.122, allocations: 39.88 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.122, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/1.122, allocations: 4 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.122, allocations: 0 / 1.169 GB, free: 2.16 MB / 0.8887 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.0005522/1.122, allocations: 347.9 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/1.122, allocations: 8.922 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/1.122, allocations: 12.92 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/1.123, allocations: 172.2 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/1.123, allocations: 4.375 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/1.123, allocations: 384 / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/1.123, allocations: 62.22 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/1.123, allocations: 192 / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/1.123, allocations: 3.938 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.123, allocations: 0 / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/1.123, allocations: 51.94 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/1.124, allocations: 260.9 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/1.124, allocations: 62.41 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/1.124, allocations: 28.91 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/1.124, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.124, allocations: 34.56 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.124, allocations: 0 / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000442/1.124, allocations: 105.6 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/1.125, allocations: 55.34 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.125, allocations: 105.8 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.125, allocations: 25.7 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/1.125, allocations: 88.27 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/1.125, allocations: 11.94 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/1.125, allocations: 9.719 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.125, allocations: 318.8 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/1.125, allocations: 23.97 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/1.125, allocations: 15.98 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/1.125, allocations: 56.88 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.125, allocations: 3.984 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002377/1.126, allocations: 81.78 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.126, allocations: 11.94 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/1.126, allocations: 4.031 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.126, allocations: 4 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/1.126, allocations: 12.03 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.126, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/1.126, allocations: 11.89 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/1.126, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 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 9.263e-05/1.126, allocations: 113.8 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/1.126, allocations: 3.938 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/1.126, allocations: 7.531 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.126, allocations: 3.984 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.126, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/1.126, allocations: 77.11 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/1.126, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/1.126, allocations: 7.984 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/1.126, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003221/1.127, allocations: 172.8 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003204/1.127, allocations: 250.7 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001152/1.127, allocations: 28.03 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.946e-05/1.127, allocations: 87.28 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of Backend: time 6.92e-07/1.127, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005289/1.128, allocations: 106.4 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006156/1.128, allocations: 0.5531 MB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of Templates: time 0.004034/1.132, allocations: 0.9707 MB / 1.173 GB, free: 13.51 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches