Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.001966/0.001966, allocations: 110 kB / 18.93 MB, free: 2.945 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.004347/0.004347, allocations: 186.4 kB / 22.23 MB, free: 5.16 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: 12.99 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.741/2.741, allocations: 476.7 MB / 0.7646 GB, free: 9.848 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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical")
translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 59.91 kB / 1.11 GB, free: 6.32 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9452/0.9476, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value.
Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002639/0.9502, allocations: 0.7512 MB / 1.275 GB, free: 3.453 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001681/0.9519, allocations: 1.156 MB / 1.276 GB, free: 2.285 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.492e-05/0.9519, allocations: 4 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.9521, allocations: 23.78 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.9521, allocations: 11.92 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.9526, allocations: 138.5 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0002142/0.9529, allocations: 127.7 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.953, allocations: 23.97 kB / 1.277 GB, free: 1.965 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.9531, allocations: 43.86 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.9532, allocations: 47.77 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.9532, allocations: 8 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.9533, allocations: 23.98 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.9534, allocations: 15.92 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.9534, allocations: 47.78 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.9537, allocations: 103.2 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9537, allocations: 4 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.142e-06/0.9537, allocations: 0 / 1.277 GB, free: 1.684 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 7.555e-06/0.9537, allocations: 0 / 1.277 GB, free: 1.684 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0006684/0.9544, allocations: 334.6 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.9544, allocations: 12.03 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.9545, allocations: 16.83 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.9548, allocations: 150.3 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.9548, allocations: 8.375 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.9548, allocations: 8.375 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.955, allocations: 76.8 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.955, allocations: 192 / 1.277 GB, free: 1.016 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.955, allocations: 3.938 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.955, allocations: 0 / 1.277 GB, free: 1.012 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.9551, allocations: 23.92 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.9557, allocations: 460.1 kB / 1.278 GB, free: 500 kB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.618e-05/0.9557, allocations: 26.56 kB / 1.278 GB, free: 464 kB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.9557, allocations: 12.86 kB / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.9558, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.9559, allocations: 67.28 kB / 1.278 GB, free: 368 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.9559, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.0001971/0.9561, allocations: 65.64 kB / 1.278 GB, free: 296 kB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.9561, allocations: 51.41 kB / 1.278 GB, free: 232 kB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.9563, allocations: 153.8 kB / 1.278 GB, free: 68 kB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.9563, allocations: 25.7 kB / 1.278 GB, free: 36 kB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.9564, allocations: 92.14 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.9564, allocations: 7.953 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.9565, allocations: 29.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001577/0.9566, allocations: 322.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.9567, allocations: 31.98 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.9568, allocations: 50.48 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.9569, allocations: 76.52 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9569, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002785/0.9572, allocations: 167.2 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.9572, allocations: 35.73 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.9572, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.9573, allocations: 3.938 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.73e-05/0.9573, allocations: 4 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.9573, allocations: 7.875 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.9575, allocations: 31.86 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.9575, allocations: 7.984 kB / 1.279 GB, free: 15.12 MB / 0.9825 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 3
 * 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.0001136/0.9576, allocations: 121.9 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.9576, allocations: 3.953 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.9577, allocations: 12.34 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.9577, allocations: 3.984 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.9577, allocations: 3.938 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9577, allocations: 0 / 1.279 GB, free: 14.97 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.9578, allocations: 144.7 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9578, allocations: 64 / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.9579, allocations: 8 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.9579, allocations: 4 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.9579, allocations: 3.984 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9579, allocations: 3.938 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9579, allocations: 3.938 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.958, allocations: 85.02 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.958, allocations: 11.95 kB / 1.279 GB, free: 14.65 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.958, allocations: 0 / 1.279 GB, free: 14.65 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.958, allocations: 0 / 1.279 GB, free: 14.65 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.9581, allocations: 11.92 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.9581, allocations: 4 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 8.365e-05/0.9582, allocations: 105.9 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.9582, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002181/0.9584, allocations: 23.98 kB / 1.28 GB, free: 14.51 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: 3 ($whenCondition1,$whenCondition2,pul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 2
 * 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.0001659/0.9585, allocations: 99.25 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002268/0.9588, allocations: 107.3 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9588, allocations: 8.188 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 2.538e-05/0.9588, allocations: 4 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.959, allocations: 11.98 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.9594, allocations: 174.6 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.9598, allocations: 0.6885 MB / 1.281 GB, free: 13.35 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.544e-05/0.9598, allocations: 4 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.9598, allocations: 15.44 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.91e-07/0.9598, allocations: 0 / 1.281 GB, free: 13.33 MB / 0.9825 GB
Notification: Performance of Templates: time 0.00421/0.9641, allocations: 1.161 MB / 1.282 GB, free: 12.18 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.021447176113725]