Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 111.4 kB / 16.42 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.001961/0.001961, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.109, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003213/1.113, allocations: 1.436 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008327/1.113, allocations: 390.6 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/1.114, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/1.114, allocations: 3.938 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/1.114, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/1.114, allocations: 123 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.476e-05/1.114, allocations: 23.92 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/1.114, allocations: 11.98 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/1.115, allocations: 7.938 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/1.115, allocations: 15.92 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/1.115, allocations: 0 / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/1.115, allocations: 279.6 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/1.115, allocations: 11.98 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/1.115, allocations: 7.922 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/1.115, allocations: 107.8 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/1.115, allocations: 4 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.508e-06/1.115, allocations: 4 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.362e-05/1.115, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 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.0005635/1.116, allocations: 363.3 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.116, allocations: 8.031 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/1.116, allocations: 4.938 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/1.116, allocations: 172.3 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/1.116, allocations: 384 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/1.116, allocations: 4.375 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/1.117, allocations: 54.17 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.117, allocations: 192 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.117, allocations: 3.938 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/1.117, allocations: 0 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/1.117, allocations: 31.97 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/1.117, allocations: 257 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/1.117, allocations: 38.5 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/1.117, allocations: 20.89 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007122/1.118, allocations: 465.4 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.118, allocations: 30.56 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/1.118, allocations: 0 / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000389/1.119, allocations: 89.73 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/1.119, allocations: 55.34 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/1.119, allocations: 105.8 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/1.119, allocations: 25.7 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/1.119, allocations: 85.97 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/1.119, allocations: 7.891 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/1.119, allocations: 17.7 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.119, allocations: 314.8 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/1.119, allocations: 16.02 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/1.119, allocations: 23.92 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/1.119, allocations: 40.81 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.119, allocations: 0 / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002074/1.119, allocations: 77.56 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.119, allocations: 4 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.119, allocations: 0 / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.119, allocations: 0 / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/1.12, allocations: 11.94 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.12, allocations: 3.984 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/1.12, allocations: 7.984 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/1.12, allocations: 0 / 1.213 GB, free: 8.57 MB / 0.9356 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 8.39e-05/1.12, allocations: 121.8 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/1.12, allocations: 3.938 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/1.12, allocations: 77.17 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.12, allocations: 0 / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.12, allocations: 0 / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/1.12, allocations: 81.09 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/1.12, allocations: 4 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/1.12, allocations: 8.266 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/1.12, allocations: 4 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002376/1.12, allocations: 152.8 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002968/1.121, allocations: 242.7 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.867e-05/1.121, allocations: 23.97 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.173e-05/1.121, allocations: 83.28 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of Backend: time 4.21e-07/1.121, allocations: 0 / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005432/1.122, allocations: 142.2 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005019/1.122, allocations: 0.561 MB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of Templates: time 0.004189/1.126, allocations: 1.416 MB / 1.216 GB, free: 5.551 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches