Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9897/0.9897, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.403/2.403, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.36e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.27 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.001351/0.001375, allocations: 0.7525 MB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.002438, allocations: 1.201 MB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.0025, allocations: 3.938 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.002623, allocations: 23.8 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.002654, allocations: 15.84 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.002987, allocations: 131.6 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.003132, allocations: 123.7 kB / 0.8408 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.399e-05/0.003216, allocations: 27.83 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.003295, allocations: 59.89 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.003368, allocations: 39.88 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.003387, allocations: 8 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.003442, allocations: 19.98 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.003461, allocations: 8 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.003506, allocations: 35.91 kB / 0.841 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.003644, allocations: 95.62 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003646, allocations: 0 / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003646, allocations: 0 / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.00365, allocations: 4 kB / 0.8411 GB, free: 11.72 MB / 0.8073 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.0003182/0.003968, allocations: 302.4 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.004001, allocations: 12.62 kB / 0.8414 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.004032, allocations: 8.938 kB / 0.8414 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.004181, allocations: 145.6 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.004193, allocations: 4.375 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.00421, allocations: 12.38 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.004291, allocations: 68.75 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.004298, allocations: 192 / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.004305, allocations: 8.375 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004309, allocations: 384 / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.004326, allocations: 19.86 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.004566, allocations: 340.6 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.911e-05/0.004605, allocations: 26.5 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-06/0.004613, allocations: 4.859 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-06/0.004616, allocations: 0 / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.273e-05/0.004689, allocations: 63.39 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.00469, allocations: 0 / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001016/0.004791, allocations: 57.61 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.004822, allocations: 51.41 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.004892, allocations: 137.4 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.004906, allocations: 29.7 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.004944, allocations: 100.1 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.004952, allocations: 7.938 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.004991, allocations: 29.7 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.005061, allocations: 318.8 kB / 0.8427 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.005099, allocations: 41.7 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.005144, allocations: 72.25 kB / 0.8428 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.0052, allocations: 80.41 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005202, allocations: 0 / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001102/0.005313, allocations: 148.9 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.005339, allocations: 37.7 kB / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.005345, allocations: 3.984 kB / 0.8431 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005355, allocations: 0 / 0.8431 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.444e-05/0.00537, allocations: 4 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.005372, allocations: 0 / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.005477, allocations: 24.03 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.005488, allocations: 4 kB / 0.8431 GB, free: 9.367 MB / 0.8073 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 6.331e-05/0.005552, allocations: 121.8 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.00556, allocations: 7.938 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.909e-05/0.005579, allocations: 8.344 kB / 0.8433 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005581, allocations: 0 / 0.8433 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.005582, allocations: 0 / 0.8433 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.005585, allocations: 3.984 kB / 0.8433 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.804e-05/0.005643, allocations: 69.89 kB / 0.8433 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.005645, allocations: 3.984 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.466e-06/0.005649, allocations: 4 kB / 0.8433 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.005651, allocations: 4 kB / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.005656, allocations: 7.875 kB / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005657, allocations: 0 / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.005659, allocations: 3.984 kB / 0.8433 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.701e-05/0.005716, allocations: 65.12 kB / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.005724, allocations: 7.984 kB / 0.8434 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-06/0.005732, allocations: 3.938 kB / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-06/0.00574, allocations: 64 / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.00576, allocations: 11.94 kB / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.005762, allocations: 0 / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.023e-05/0.005782, allocations: 28.83 kB / 0.8435 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005782, allocations: 0 / 0.8435 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001155/0.005898, allocations: 27.89 kB / 0.8435 GB, free: 8.941 MB / 0.8073 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 9.971e-05/0.005997, allocations: 80.41 kB / 0.8436 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.006367, allocations: 125.9 kB / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.00637, allocations: 4 kB / 0.8437 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.006386, allocations: 12.8 kB / 0.8437 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.621e-05/0.006482, allocations: 15.92 kB / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.006693, allocations: 161 kB / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.632e-05/0.006719, allocations: 59.36 kB / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.673e-05/0.006736, allocations: 3.984 kB / 0.8439 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.006796, allocations: 67.36 kB / 0.844 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.006796, allocations: 0 / 0.844 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of Templates: time 0.002694/0.009491, allocations: 1.303 MB / 0.8453 GB, free: 7.07 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.299087235238403]