Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001564/0.001564, allocations: 114.4 kB / 17.08 MB, free: 5.789 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.001584/0.001584, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.404/1.404, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 489.2 MB / 0.7687 GB, free: 3.953 MB / 0.6075 GB
"
[Timeout remaining time 176]
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.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.91 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.8787, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.001958/0.8807, allocations: 0.9405 MB / 1.263 GB, free: 7.379 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001242/0.882, allocations: 1.172 MB / 1.265 GB, free: 6.516 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.882, allocations: 2.75 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.8822, allocations: 23.33 kB / 1.265 GB, free: 6.5 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.8822, allocations: 15.78 kB / 1.265 GB, free: 6.488 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.8827, allocations: 150.3 kB / 1.265 GB, free: 6.41 MB / 0.9981 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.0) as default value.
Notification: Performance of NFFlatten.flatten: time 0.0002318/0.8829, allocations: 178.7 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.883, allocations: 39.16 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.8831, allocations: 56.78 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.8832, allocations: 58.72 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.8833, allocations: 14.94 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.854e-05/0.8833, allocations: 32.05 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.8834, allocations: 17.34 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.8835, allocations: 60.41 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.8837, allocations: 164.9 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.8837, allocations: 0.5938 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.275e-06/0.8837, allocations: 0.6094 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 9.387e-06/0.8837, allocations: 0.75 kB / 1.265 GB, free: 6.137 MB / 0.9981 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.0004315/0.8842, allocations: 447.4 kB / 1.266 GB, free: 5.691 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.8842, allocations: 9.438 kB / 1.266 GB, free: 5.691 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.8843, allocations: 16.67 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.8845, allocations: 226 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.8845, allocations: 8.594 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.8845, allocations: 8.234 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.8847, allocations: 85.8 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8847, allocations: 4.688 kB / 1.266 GB, free: 5.375 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.8847, allocations: 5 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.8847, allocations: 6.125 kB / 1.266 GB, free: 5.367 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.8848, allocations: 24.47 kB / 1.266 GB, free: 5.359 MB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.8852, allocations: 0.528 MB / 1.267 GB, free: 4.867 MB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/0.8852, allocations: 32.47 kB / 1.267 GB, free: 4.836 MB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.8853, allocations: 17.03 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.8853, allocations: 0.7812 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.169e-05/0.8854, allocations: 65.48 kB / 1.267 GB, free: 4.766 MB / 0.9981 GB
Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.8854, allocations: 0 / 1.267 GB, free: 4.766 MB / 0.9981 GB
Notification: Performance of matching and sorting (n=4): time 0.0001904/0.8856, allocations: 84.8 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.8856, allocations: 56.75 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.0) as default value.
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.8858, allocations: 174.2 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB
Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.8858, allocations: 28.05 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB
Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.8858, allocations: 110.3 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB
Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.8858, allocations: 6.266 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.8859, allocations: 30.34 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB
Notification: Performance of setup shared object (initialization): time 4.459e-05/0.886, allocations: 321.4 kB / 1.268 GB, free: 4.043 MB / 0.9981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.8861, allocations: 38.17 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.8861, allocations: 55.88 kB / 1.268 GB, free: 3.988 MB / 0.9981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.8862, allocations: 96.31 kB / 1.268 GB, free: 3.906 MB / 0.9981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8863, allocations: 0 / 1.268 GB, free: 3.906 MB / 0.9981 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002553/0.8865, allocations: 164.3 kB / 1.268 GB, free: 3.805 MB / 0.9981 GB
Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.8866, allocations: 38.91 kB / 1.268 GB, free: 3.77 MB / 0.9981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.8866, allocations: 1.656 kB / 1.268 GB, free: 3.77 MB / 0.9981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.8866, allocations: 1.094 kB / 1.268 GB, free: 3.77 MB / 0.9981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.8866, allocations: 7.141 kB / 1.268 GB, free: 3.766 MB / 0.9981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.8867, allocations: 1.359 kB / 1.268 GB, free: 3.766 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.8868, allocations: 36.7 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.8869, allocations: 6.391 kB / 1.268 GB, free: 3.754 MB / 0.9981 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 6.217e-05/0.8869, allocations: 117.8 kB / 1.268 GB, free: 3.637 MB / 0.9981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.887, allocations: 8.828 kB / 1.268 GB, free: 3.633 MB / 0.9981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.887, allocations: 22.05 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.887, allocations: 5.391 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.887, allocations: 4.062 kB / 1.268 GB, free: 3.605 MB / 0.9981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.887, allocations: 8.484 kB / 1.268 GB, free: 3.598 MB / 0.9981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.8871, allocations: 188.8 kB / 1.268 GB, free: 3.395 MB / 0.9981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8871, allocations: 1.25 kB / 1.268 GB, free: 3.395 MB / 0.9981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.8872, allocations: 6.984 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8872, allocations: 0 / 1.268 GB, free: 3.391 MB / 0.9981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.8872, allocations: 1.375 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8872, allocations: 0.8438 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8872, allocations: 1.359 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.8873, allocations: 102.3 kB / 1.268 GB, free: 3.301 MB / 0.9981 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.8873, allocations: 85.11 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.8874, allocations: 1.875 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.8874, allocations: 0.8125 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.8874, allocations: 10.66 kB / 1.269 GB, free: 3.195 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.8874, allocations: 2.969 kB / 1.269 GB, free: 3.195 MB / 0.9981 GB
Notification: Performance of sorting global known variables: time 8.332e-05/0.8875, allocations: 127 kB / 1.269 GB, free: 3.105 MB / 0.9981 GB
Notification: Performance of sort global known variables: time 1e-07/0.8875, allocations: 0 / 1.269 GB, free: 3.105 MB / 0.9981 GB
Notification: Performance of remove unused functions: time 0.0002145/0.8877, allocations: 28.05 kB / 1.269 GB, free: 3.098 MB / 0.9981 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.0001148/0.8879, allocations: 104.2 kB / 1.269 GB, free: 3.004 MB / 0.9981 GB
Notification: Performance of simCode: created initialization part: time 0.0002176/0.8881, allocations: 130.3 kB / 1.269 GB, free: 2.914 MB / 0.9981 GB
Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8881, allocations: 0.7812 kB / 1.269 GB, free: 2.914 MB / 0.9981 GB
Notification: Performance of simCode: created simulation system equations: time 4.013e-05/0.8881, allocations: 23.3 kB / 1.269 GB, free: 2.902 MB / 0.9981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.8884, allocations: 16.2 kB / 1.269 GB, free: 2.898 MB / 0.9981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.8887, allocations: 227.3 kB / 1.269 GB, free: 2.699 MB / 0.9981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.8888, allocations: 0.6968 MB / 1.27 GB, free: 2.004 MB / 0.9981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.8888, allocations: 12.12 kB / 1.27 GB, free: 1.996 MB / 0.9981 GB
Notification: Performance of SimCode: time 2.41e-07/0.8888, allocations: 0.8438 kB / 1.27 GB, free: 1.996 MB / 0.9981 GB
Notification: Performance of Templates: time 0.003498/0.8924, allocations: 1.466 MB / 1.271 GB, free: 1.848 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.764537693932652]