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.0009965/0.0009965, allocations: 81.86 kB / 20.68 MB, free: 3.812 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 / 24.09 MB, free: 416 kB / 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.9086/0.9086, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.892/1.892, allocations: 377.9 MB / 0.624 GB, free: 8.395 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.144e-06/2.144e-06, allocations: 0.875 kB / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.615e-05, allocations: 6.25 kB / 0.812 GB, free: 1.449 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.001417/0.001433, allocations: 0.9039 MB / 0.8129 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.00261, allocations: 1.214 MB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.002674, allocations: 4 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.00279, allocations: 28.53 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.00283, allocations: 22.16 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.003144, allocations: 143.6 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.003298, allocations: 171.6 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.003394, allocations: 29.56 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.003481, allocations: 83.75 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.00356, allocations: 44.94 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.003583, allocations: 12 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.003638, allocations: 27.98 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.003662, allocations: 12.94 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.003708, allocations: 47.89 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.003863, allocations: 116.6 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003865, allocations: 0 / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.31e-07/0.003866, allocations: 0 / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.00387, allocations: 5.328 kB / 0.8148 GB, free: 14.61 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.0003395/0.004209, allocations: 461.8 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.004242, allocations: 12.03 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.004276, allocations: 22.78 kB / 0.8153 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.004428, allocations: 166.9 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.00444, allocations: 8.375 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.004452, allocations: 6.062 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/0.004532, allocations: 97.92 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004539, allocations: 192 / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.004546, allocations: 4.375 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004552, allocations: 8.359 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.004576, allocations: 16.84 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.004891, allocations: 0.5645 MB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.861e-05/0.00493, allocations: 40.08 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.178e-05/0.004942, allocations: 11.75 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.004947, allocations: 0.5312 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/0.005013, allocations: 62.3 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.005014, allocations: 0 / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001232/0.005137, allocations: 69.58 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.005162, allocations: 55.92 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.005252, allocations: 209.7 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.005266, allocations: 31.08 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.005328, allocations: 158.7 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.005339, allocations: 7.938 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.005381, allocations: 36.52 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.005488, allocations: 0.4962 MB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.005532, allocations: 49.69 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.942e-05/0.005581, allocations: 84.73 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.16e-05/0.005643, allocations: 86.38 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005645, allocations: 3.938 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001455/0.005791, allocations: 170.2 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.005816, allocations: 41.69 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.00582, allocations: 0 / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.00583, allocations: 4.844 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-05/0.00586, allocations: 0 / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.005862, allocations: 1.156 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/0.005945, allocations: 23.94 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.005957, allocations: 9.359 kB / 0.8177 GB, free: 11.35 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 7.022e-05/0.006027, allocations: 172.4 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.006037, allocations: 11.89 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.006061, allocations: 13.84 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.006062, allocations: 0 / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.006065, allocations: 4.062 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006068, allocations: 0 / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.76e-05/0.006135, allocations: 120.1 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006136, allocations: 240 / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-06/0.006143, allocations: 0 / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.006146, allocations: 3.938 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-06/0.006149, allocations: 0 / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.00615, allocations: 4 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006151, allocations: 3.984 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.221e-05/0.006224, allocations: 92.38 kB / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.006236, allocations: 16.39 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.006244, allocations: 0.5 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.098e-05/0.006255, allocations: 5.344 kB / 0.8181 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.006272, allocations: 7.922 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.006274, allocations: 3.938 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.006324, allocations: 150 kB / 0.8183 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.006324, allocations: 0.9062 kB / 0.8183 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001368/0.006461, allocations: 31.89 kB / 0.8183 GB, free: 10.66 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 9.129e-05/0.006552, allocations: 99.88 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.006678, allocations: 145.4 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006679, allocations: 2.781 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.006697, allocations: 19.62 kB / 0.8186 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.006837, allocations: 15.98 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.007051, allocations: 189.8 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.625e-05/0.007077, allocations: 66.06 kB / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.007096, allocations: 4.734 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.00717, allocations: 98.17 kB / 0.8189 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.007171, allocations: 0 / 0.8189 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of Templates: time 0.002875/0.01005, allocations: 1.665 MB / 0.8205 GB, free: 8.352 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: 4.9712776890955865]