Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009674/0.0009674, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009749/0.0009749, allocations: 169 kB / 24.28 MB, free: 280 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 1.023/1.023, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.857/1.857, allocations: 377.8 MB / 0.6239 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 178] 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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.67e-05, allocations: 4.844 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.001539/0.001565, allocations: 0.7577 MB / 0.8123 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.002803, allocations: 1.194 MB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.002869, allocations: 4 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.003, allocations: 24.66 kB / 0.8134 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.58e-05/0.003026, allocations: 7.938 kB / 0.8135 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.003376, allocations: 134 kB / 0.8136 GB, free: 0 / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.003539, allocations: 131.8 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003639, allocations: 19.98 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.003718, allocations: 67.81 kB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.003799, allocations: 27.84 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.003819, allocations: 9.531 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.97e-05/0.003879, allocations: 23.98 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.003902, allocations: 15.91 kB / 0.8139 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.003951, allocations: 27.98 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.004109, allocations: 92.84 kB / 0.814 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.004112, allocations: 0 / 0.814 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004112, allocations: 0 / 0.814 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004117, allocations: 5.531 kB / 0.814 GB, free: 15.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004241/0.004541, allocations: 434 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.004578, allocations: 12.03 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.004632, allocations: 20.81 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.004814, allocations: 153.7 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.004826, allocations: 4.906 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.004845, allocations: 4.375 kB / 0.8146 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.004947, allocations: 78.92 kB / 0.8147 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.004953, allocations: 192 / 0.8147 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.004962, allocations: 4.375 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004968, allocations: 384 / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.004991, allocations: 16.5 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.005357, allocations: 0.5529 MB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.005404, allocations: 34.98 kB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.00542, allocations: 12.44 kB / 0.8153 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.005425, allocations: 0 / 0.8153 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.052e-05/0.005516, allocations: 61.83 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005517, allocations: 0 / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001713/0.005688, allocations: 63.02 kB / 0.8154 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.005724, allocations: 51.41 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.005843, allocations: 199.5 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.005865, allocations: 31.45 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.005935, allocations: 150.8 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.005944, allocations: 4 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.006, allocations: 39.36 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.006146, allocations: 0.4961 MB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.006223, allocations: 55.91 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.00629, allocations: 84.73 kB / 0.8165 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.643e-05/0.006367, allocations: 80.75 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.00637, allocations: 3.938 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001866/0.006557, allocations: 184 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.00659, allocations: 33.69 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.006596, allocations: 4 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.006608, allocations: 0 / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.532e-05/0.006623, allocations: 0 / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.006629, allocations: 3.938 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.00676, allocations: 24.17 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.006775, allocations: 9.234 kB / 0.8168 GB, free: 12.43 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 (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 7.51e-05/0.00685, allocations: 164.5 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.00686, allocations: 4.625 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.006883, allocations: 12.33 kB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006885, allocations: 0.5625 kB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.006889, allocations: 0.8438 kB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.006893, allocations: 4.047 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.771e-05/0.006971, allocations: 128.6 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.006974, allocations: 9.031 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-06/0.006978, allocations: 0 / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006981, allocations: 2.438 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.006986, allocations: 0 / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.006987, allocations: 0 / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.00699, allocations: 7.922 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.957e-05/0.00708, allocations: 92.39 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.00709, allocations: 11.89 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.0071, allocations: 0 / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-06/0.007109, allocations: 0.8125 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.007137, allocations: 7.984 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.00714, allocations: 0.9375 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.007194, allocations: 141.7 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007194, allocations: 0 / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001431/0.007338, allocations: 25.16 kB / 0.8174 GB, free: 11.77 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.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.0001307/0.007468, allocations: 103.2 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.007635, allocations: 141.5 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007636, allocations: 0.7812 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.007662, allocations: 15.67 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.007834, allocations: 17.09 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.008107, allocations: 163.7 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.485e-05/0.008142, allocations: 63.2 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.939e-05/0.008161, allocations: 5.125 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.008178, allocations: 8.5 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.008179, allocations: 0 / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.003004/0.01118, allocations: 1.218 MB / 0.8191 GB, free: 10.02 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.227120166877285]