Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 189.5 kB / 22.23 MB, free: 5.098 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"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: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.774/2.774, allocations: 476.7 MB / 0.7646 GB, free: 9.891 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower")
translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 59.89 kB / 1.11 GB, free: 6.348 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7683, allocations: 168.8 MB / 1.274 GB, free: 4.215 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003042/0.7714, allocations: 1.46 MB / 1.276 GB, free: 2.75 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0007815/0.7722, allocations: 386.7 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.7722, allocations: 0 / 1.276 GB, free: 2.371 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.7722, allocations: 3.938 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.7723, allocations: 7.938 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.7727, allocations: 115.7 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 7e-05/0.7728, allocations: 23.92 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.7729, allocations: 7.938 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.7729, allocations: 11.94 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.773, allocations: 19.91 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.773, allocations: 0 / 1.276 GB, free: 2.184 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.7734, allocations: 279.6 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.7734, allocations: 8 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.7734, allocations: 11.94 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.7737, allocations: 114 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7737, allocations: 0 / 1.277 GB, free: 1.785 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.203e-06/0.7737, allocations: 4 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 4.839e-06/0.7737, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 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.0005268/0.7742, allocations: 290 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.7742, allocations: 8.031 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.7743, allocations: 8.938 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.7744, allocations: 114.5 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.7744, allocations: 4.312 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.7744, allocations: 4.375 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.7746, allocations: 50.23 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7746, allocations: 192 / 1.277 GB, free: 1.25 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.7746, allocations: 7.938 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.7746, allocations: 0 / 1.277 GB, free: 1.242 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.7748, allocations: 31.97 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.7752, allocations: 224 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.7753, allocations: 42.44 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.7754, allocations: 24.91 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/0.776, allocations: 79.89 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.776, allocations: 34.56 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.776, allocations: 3.938 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2): time 0.0003905/0.7764, allocations: 89.64 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.7764, allocations: 55.34 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.7765, allocations: 105.8 kB / 1.278 GB, free: 484 kB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.7765, allocations: 25.7 kB / 1.278 GB, free: 452 kB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.7766, allocations: 80.14 kB / 1.278 GB, free: 368 kB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.7766, allocations: 3.953 kB / 1.278 GB, free: 364 kB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.7766, allocations: 17.84 kB / 1.278 GB, free: 340 kB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001487/0.7768, allocations: 318.8 kB / 1.278 GB, free: 12 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.7769, allocations: 20.06 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.777, allocations: 11.98 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.7771, allocations: 40.83 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7771, allocations: 64 / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002269/0.7774, allocations: 77.55 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.7774, allocations: 7.938 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7774, allocations: 3.938 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7774, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.7775, allocations: 11.98 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.7775, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.7775, allocations: 7.984 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.7775, allocations: 4.031 kB / 1.278 GB, free: 15.82 MB / 0.9825 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.366e-05/0.7776, allocations: 117.8 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.7777, allocations: 0 / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.7779, allocations: 69.28 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7779, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7779, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7779, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.7781, allocations: 144.7 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7781, allocations: 256 / 1.279 GB, free: 15.43 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.7782, allocations: 15.92 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7782, allocations: 0 / 1.279 GB, free: 15.42 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.7782, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7782, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7782, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.7785, allocations: 167.5 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.7785, allocations: 3.953 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.7785, allocations: 7.938 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8e-05/0.7786, allocations: 7.984 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.7786, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.7786, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 5.493e-05/0.7787, allocations: 87.27 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/0.7787, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002459/0.7789, allocations: 19.97 kB / 1.279 GB, free: 15.11 MB / 0.9825 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.0001565/0.7791, allocations: 103.2 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002289/0.7793, allocations: 39.89 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7793, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 9.188e-05/0.7794, allocations: 15.98 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.7797, allocations: 16 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.7799, allocations: 105.5 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.7803, allocations: 0.6807 MB / 1.28 GB, free: 14.09 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.221e-05/0.7803, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.7803, allocations: 11.44 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.4e-07/0.7803, allocations: 0 / 1.28 GB, free: 14.08 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003361/0.7837, allocations: 0.7397 MB / 1.281 GB, free: 13.35 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.570540904067457]