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.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.001516/0.001516, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001276/0.001276, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.031/1.031, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.919/1.919, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.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 2.124e-06/2.124e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.195e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.002496/0.002528, allocations: 0.9272 MB / 0.8124 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.004334, allocations: 1.217 MB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.004454, allocations: 1.844 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.004655, allocations: 27.73 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-05/0.004714, allocations: 19.86 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.005152, allocations: 144.9 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.00534, allocations: 171.5 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.005453, allocations: 29.56 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.005597, allocations: 77.48 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.005692, allocations: 43.86 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.005719, allocations: 16 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.005787, allocations: 27.94 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.005814, allocations: 16.58 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.005867, allocations: 43.91 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.006057, allocations: 116.2 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.006059, allocations: 0 / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.00606, allocations: 1.656 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.006064, allocations: 0 / 0.8143 GB, free: 14.86 MB / 0.7761 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.0005387/0.006603, allocations: 461.9 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.006647, allocations: 8.031 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.006711, allocations: 29.42 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.006926, allocations: 166.7 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.006949, allocations: 8.375 kB / 0.815 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.00697, allocations: 9.531 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.007098, allocations: 97.94 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.007109, allocations: 192 / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.007119, allocations: 1.75 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.007126, allocations: 384 / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.146e-05/0.007168, allocations: 31.86 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.007723, allocations: 0.5928 MB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.36e-05/0.007796, allocations: 27.06 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.007825, allocations: 15.75 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.007837, allocations: 0 / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.007956, allocations: 70.61 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.007957, allocations: 0 / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002238/0.008181, allocations: 73.62 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.008225, allocations: 55.41 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.008385, allocations: 212.3 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.008405, allocations: 25.7 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.008494, allocations: 158.8 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.008512, allocations: 10.11 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.008566, allocations: 35.36 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.008724, allocations: 0.4961 MB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.358e-05/0.008807, allocations: 57.67 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.008881, allocations: 84.75 kB / 0.817 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.008983, allocations: 86.88 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.008987, allocations: 0 / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002479/0.009235, allocations: 188.9 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.00928, allocations: 38.2 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.009287, allocations: 0 / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/0.009318, allocations: 0.5312 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.009391, allocations: 5.938 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.009398, allocations: 0 / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.009526, allocations: 23.92 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.009543, allocations: 8 kB / 0.8173 GB, free: 11.54 MB / 0.7761 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 9.844e-05/0.009641, allocations: 170.7 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.009657, allocations: 11.94 kB / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.009699, allocations: 12.34 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.009701, allocations: 3.938 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.009705, allocations: 0 / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.009709, allocations: 0 / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.009809, allocations: 145.6 kB / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.009811, allocations: 0 / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.009826, allocations: 3.938 kB / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.009829, allocations: 8.578 kB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.009836, allocations: 1.172 kB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009837, allocations: 0 / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009838, allocations: 64 / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.009939, allocations: 109.2 kB / 0.8177 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.009954, allocations: 7.953 kB / 0.8177 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.009967, allocations: 7.391 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.009981, allocations: 0 / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.01001, allocations: 4 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.01002, allocations: 4 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.581e-05/0.01008, allocations: 149.6 kB / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01008, allocations: 0 / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001642/0.01025, allocations: 27.89 kB / 0.8179 GB, free: 10.82 MB / 0.7761 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.0001436/0.01039, allocations: 111.2 kB / 0.818 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.01058, allocations: 147 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01058, allocations: 0 / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.01061, allocations: 23.61 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.0108, allocations: 20.89 kB / 0.8182 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.01114, allocations: 187 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.01117, allocations: 63.34 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.01121, allocations: 8.719 kB / 0.8185 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.01123, allocations: 13.62 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/0.01123, allocations: 0 / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.003258/0.01449, allocations: 1.536 MB / 0.82 GB, free: 8.691 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] 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","",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.652762945275754]