Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001439/0.001439, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001722/0.001722, allocations: 190.8 kB / 22.1 MB, free: 4.305 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.616/1.616, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.085/3.085, allocations: 495.8 MB / 0.783 GB, free: 12.32 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal")
translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.88 kB / 1.137 GB, free: 10.19 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.152, allocations: 173.6 MB / 1.307 GB, free: 0.9297 MB / 0.9981 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value.
Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002671/1.155, allocations: 0.9439 MB / 1.308 GB, free: 320 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002137/1.157, allocations: 1.186 MB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/1.157, allocations: 7.344 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001821/1.158, allocations: 19.28 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.352e-05/1.158, allocations: 21.45 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00056/1.158, allocations: 144 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002896/1.158, allocations: 171.4 kB / 1.309 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/1.159, allocations: 30.86 kB / 1.309 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/1.159, allocations: 62.84 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/1.159, allocations: 51.47 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.48e-05/1.159, allocations: 15 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/1.159, allocations: 27.88 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.095e-05/1.159, allocations: 20.61 kB / 1.309 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001098/1.159, allocations: 60.94 kB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003196/1.16, allocations: 172.2 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.16, allocations: 0 / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.252e-06/1.16, allocations: 3.938 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.995e-06/1.16, allocations: 1.312 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.0006524/1.16, allocations: 363.3 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.16, allocations: 8.938 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/1.16, allocations: 17.94 kB / 1.31 GB, free: 14.69 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/1.161, allocations: 160.1 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/1.161, allocations: 5.734 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/1.161, allocations: 15.78 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/1.161, allocations: 86.94 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.161, allocations: 192 / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.161, allocations: 5.672 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.161, allocations: 1.188 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/1.161, allocations: 32.06 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/1.162, allocations: 0.5128 MB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/1.162, allocations: 26.73 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/1.162, allocations: 14.11 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/1.162, allocations: 8.734 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/1.162, allocations: 60.28 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 1.282e-06/1.162, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.000272/1.162, allocations: 85.77 kB / 1.311 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/1.163, allocations: 53.12 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/1.163, allocations: 176.8 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.827e-05/1.163, allocations: 28.52 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001979/1.163, allocations: 109.3 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/1.163, allocations: 9.797 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/1.163, allocations: 31 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002022/1.163, allocations: 321.1 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/1.164, allocations: 38.77 kB / 1.312 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/1.164, allocations: 51.44 kB / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/1.164, allocations: 95.86 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.164, allocations: 0 / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003569/1.164, allocations: 170 kB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/1.164, allocations: 35.44 kB / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.164, allocations: 1.375 kB / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.164, allocations: 0.9062 kB / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/1.164, allocations: 7.094 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.164, allocations: 6.156 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/1.165, allocations: 39.64 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/1.165, allocations: 6.016 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (5):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 1
 * 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 0.0001431/1.165, allocations: 125.9 kB / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/1.165, allocations: 9.766 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/1.165, allocations: 13.89 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.165, allocations: 0 / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.165, allocations: 6.547 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.165, allocations: 7.938 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/1.165, allocations: 160.8 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/1.165, allocations: 0 / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/1.165, allocations: 2.031 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.165, allocations: 1.469 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/1.165, allocations: 0.5156 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.165, allocations: 2.141 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.165, allocations: 0 / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/1.165, allocations: 103.3 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/1.165, allocations: 13 kB / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/1.165, allocations: 0.6562 kB / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/1.165, allocations: 1.375 kB / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/1.165, allocations: 11.42 kB / 1.313 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/1.165, allocations: 1.219 kB / 1.313 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001284/1.166, allocations: 123.4 kB / 1.313 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/1.166, allocations: 0 / 1.313 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000247/1.166, allocations: 23.69 kB / 1.313 GB, free: 12.32 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pul.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0002092/1.166, allocations: 107.5 kB / 1.313 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002828/1.166, allocations: 124.3 kB / 1.313 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.166, allocations: 0 / 1.313 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 4.224e-05/1.166, allocations: 13.84 kB / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/1.167, allocations: 16.23 kB / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/1.167, allocations: 198 kB / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/1.167, allocations: 0.7001 MB / 1.314 GB, free: 11.27 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.653e-05/1.168, allocations: 11.83 kB / 1.314 GB, free: 11.27 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/1.168, allocations: 12.44 kB / 1.314 GB, free: 11.26 MB / 1.014 GB
Notification: Performance of SimCode: time 3.81e-07/1.168, allocations: 0 / 1.314 GB, free: 11.26 MB / 1.014 GB
Notification: Performance of Templates: time 0.005459/1.173, allocations: 1.484 MB / 1.315 GB, free: 10.87 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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: 9.974559035152197]