Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001455/0.001455, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001708/0.001708, allocations: 160.3 kB / 24.86 MB, free: 8.688 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.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.898/1.898, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.198e-06/4.198e-06, allocations: 3.984 kB / 0.8128 GB, free: 320 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/3.122e-05, allocations: 7.312 kB / 0.8128 GB, free: 312 kB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.00257/0.002601, allocations: 0.8456 MB / 0.8136 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.01351, allocations: 1.206 MB / 0.8148 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.01361, allocations: 8.5 kB / 0.8148 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.01376, allocations: 28.83 kB / 0.8148 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.01382, allocations: 19.84 kB / 0.8148 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.01429, allocations: 149.2 kB / 0.815 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.0145, allocations: 171.5 kB / 0.8151 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.01461, allocations: 37.45 kB / 0.8152 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.01471, allocations: 71.89 kB / 0.8152 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.0148, allocations: 49.08 kB / 0.8153 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.01483, allocations: 16 kB / 0.8153 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.01489, allocations: 20 kB / 0.8153 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.01491, allocations: 16.55 kB / 0.8153 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.01496, allocations: 47.84 kB / 0.8154 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.01513, allocations: 120.3 kB / 0.8155 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01514, allocations: 0.9062 kB / 0.8155 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01514, allocations: 0 / 0.8155 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.01514, allocations: 0 / 0.8155 GB, free: 13.52 MB / 0.7292 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.0004407/0.01558, allocations: 462.5 kB / 0.8159 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.01562, allocations: 12.03 kB / 0.8159 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.01567, allocations: 17.52 kB / 0.816 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.01586, allocations: 170.9 kB / 0.8161 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.01588, allocations: 9.188 kB / 0.8161 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.0159, allocations: 4.375 kB / 0.8161 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.01601, allocations: 99.23 kB / 0.8162 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.01602, allocations: 192 / 0.8162 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.01602, allocations: 384 / 0.8162 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.01603, allocations: 4.375 kB / 0.8162 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.01606, allocations: 25.33 kB / 0.8163 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009448/0.02551, allocations: 0.5645 MB / 0.8168 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.686e-05/0.02557, allocations: 32.5 kB / 0.8168 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.02558, allocations: 19.67 kB / 0.8169 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-06/0.02559, allocations: 0 / 0.8169 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.789e-05/0.02568, allocations: 64.98 kB / 0.8169 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.02568, allocations: 1.906 kB / 0.8169 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001434/0.02582, allocations: 61.64 kB / 0.817 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.02585, allocations: 55.41 kB / 0.817 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.02596, allocations: 215.2 kB / 0.8172 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.02598, allocations: 29.7 kB / 0.8173 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.02604, allocations: 152.2 kB / 0.8174 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.02605, allocations: 11.94 kB / 0.8174 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.02612, allocations: 39.34 kB / 0.8175 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.02623, allocations: 0.4884 MB / 0.8179 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.02629, allocations: 54.31 kB / 0.818 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.02636, allocations: 90.62 kB / 0.8181 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.02644, allocations: 80.75 kB / 0.8182 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02644, allocations: 3.938 kB / 0.8182 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001975/0.02664, allocations: 177.5 kB / 0.8183 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.02667, allocations: 38.41 kB / 0.8184 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.02667, allocations: 4 kB / 0.8184 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.02668, allocations: 1.344 kB / 0.8184 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.792e-05/0.02672, allocations: 7.875 kB / 0.8184 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.02672, allocations: 4 kB / 0.8184 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.02684, allocations: 20.56 kB / 0.8184 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.02686, allocations: 5.125 kB / 0.8184 GB, free: 10.26 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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 8.068e-05/0.02694, allocations: 172.4 kB / 0.8186 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.02695, allocations: 12.7 kB / 0.8186 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.02698, allocations: 8.344 kB / 0.8186 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.02698, allocations: 4.719 kB / 0.8186 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.02698, allocations: 0 / 0.8186 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02698, allocations: 1.516 kB / 0.8186 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.921e-05/0.02707, allocations: 117.2 kB / 0.8187 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.02708, allocations: 0 / 0.8187 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.02709, allocations: 0 / 0.8187 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.02709, allocations: 12.73 kB / 0.8187 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.0271, allocations: 4 kB / 0.8187 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.0271, allocations: 0.9375 kB / 0.8187 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0271, allocations: 0 / 0.8187 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.329e-05/0.02719, allocations: 100.3 kB / 0.8188 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.02721, allocations: 17.17 kB / 0.8188 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.02722, allocations: 0 / 0.8188 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.02724, allocations: 0 / 0.8188 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.02726, allocations: 4.953 kB / 0.8188 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.02726, allocations: 4 kB / 0.8188 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.314e-05/0.02732, allocations: 157.4 kB / 0.819 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02732, allocations: 2.312 kB / 0.819 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001989/0.02752, allocations: 19.95 kB / 0.819 GB, free: 9.574 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,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.00011/0.02763, allocations: 99.25 kB / 0.8191 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.02779, allocations: 144.7 kB / 0.8192 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.02779, allocations: 3.438 kB / 0.8193 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.02781, allocations: 15.69 kB / 0.8193 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.02801, allocations: 26.3 kB / 0.8193 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009314/0.03732, allocations: 201.8 kB / 0.8195 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.03735, allocations: 59.34 kB / 0.8195 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.03738, allocations: 5.453 kB / 0.8195 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.03747, allocations: 94.17 kB / 0.8196 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/0.03747, allocations: 4.438 kB / 0.8196 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of Templates: time 0.01313/0.0506, allocations: 1.688 MB / 0.8213 GB, free: 7.238 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.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.206220808904618]