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.001074/0.001074, 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.0009901/0.0009901, 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 0.9247/0.9247, allocations: 177.2 MB / 204.2 MB, free: 5.602 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.875/1.875, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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 3.136e-06/3.136e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.747e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.719 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.002263/0.0023, allocations: 0.7649 MB / 0.8123 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.00411, allocations: 1.197 MB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.004194, allocations: 4 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.004352, allocations: 15.86 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.00439, allocations: 17.2 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.004895, allocations: 127.6 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.005099, allocations: 129.2 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.005216, allocations: 19.98 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.005315, allocations: 63.88 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.005416, allocations: 35.83 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.005452, allocations: 13.69 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.005573, allocations: 27.91 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.005611, allocations: 7.938 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.00569, allocations: 31.92 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.005902, allocations: 92.64 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.005905, allocations: 0 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.482e-06/0.005907, allocations: 0 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.005912, allocations: 4.531 kB / 0.814 GB, free: 15.19 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.000463/0.006375, allocations: 434.6 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.006418, allocations: 12.03 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.006479, allocations: 18.05 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.006683, allocations: 145 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.006699, allocations: 12.89 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.006716, allocations: 8.375 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.006839, allocations: 70.69 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.006848, allocations: 192 / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.006862, allocations: 4.375 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.006871, allocations: 1.531 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.235e-05/0.006904, allocations: 19.86 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.007322, allocations: 0.5522 MB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.43e-05/0.007367, allocations: 27.94 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.007381, allocations: 11.75 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-06/0.007385, allocations: 0.9062 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.594e-05/0.007481, allocations: 72.97 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.007483, allocations: 5.016 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000187/0.00767, allocations: 57.64 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.007708, allocations: 59.39 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.00781, allocations: 197.6 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.007826, allocations: 29.7 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.00789, allocations: 142.8 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.0079, allocations: 8.828 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.007947, allocations: 35.36 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.008062, allocations: 0.4884 MB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.008123, allocations: 58.7 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.008186, allocations: 84.69 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.926e-05/0.008255, allocations: 86.16 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.008258, allocations: 7.875 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001705/0.008429, allocations: 178.3 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.008459, allocations: 33.7 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008464, allocations: 8 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.008476, allocations: 3 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-05/0.008494, allocations: 3.938 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.008506, allocations: 7.984 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.008653, allocations: 19.94 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.008666, allocations: 4 kB / 0.8168 GB, free: 12.04 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.877e-05/0.008745, allocations: 160.5 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.008757, allocations: 12.48 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.008787, allocations: 10.28 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008789, allocations: 0 / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.008794, allocations: 0 / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008798, allocations: 0 / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/0.008897, allocations: 132.6 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.008899, allocations: 3.938 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.008903, allocations: 0.8438 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.008904, allocations: 0 / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.008911, allocations: 0.8438 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008912, allocations: 0 / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.008915, allocations: 4.656 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.285e-05/0.009008, allocations: 92.33 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.009019, allocations: 14.5 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.009031, allocations: 0 / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.009044, allocations: 8 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.009075, allocations: 0 / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.009082, allocations: 0 / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.35e-05/0.009135, allocations: 139.2 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009135, allocations: 0 / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001489/0.009284, allocations: 26.73 kB / 0.8174 GB, free: 11.39 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.0001523/0.009436, allocations: 99.25 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.0096, allocations: 144.7 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009602, allocations: 0 / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.323e-05/0.009625, allocations: 23.95 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.009791, allocations: 20.78 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.01007, allocations: 156 kB / 0.8178 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.812e-05/0.0101, allocations: 67.14 kB / 0.8179 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.168e-05/0.01013, allocations: 13.06 kB / 0.8179 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.01015, allocations: 16.5 kB / 0.8179 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.01015, allocations: 0 / 0.8179 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.003373/0.01352, allocations: 1.302 MB / 0.8192 GB, free: 9.523 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.1463943580165505]