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.0008947/0.0008947, allocations: 80.39 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.0009068/0.0009068, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9447/0.9447, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.882/1.882, 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.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 1.503e-06/1.503e-06, allocations: 0 / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.635e-05, allocations: 7.344 kB / 0.8128 GB, free: 1.453 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.001256/0.001273, allocations: 0.7476 MB / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.002467, allocations: 1.197 MB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.002532, allocations: 3.938 kB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.002658, allocations: 25.27 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.619e-05/0.002684, allocations: 3.938 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.003011, allocations: 140.2 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.003148, allocations: 131.7 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.003229, allocations: 21.2 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.003298, allocations: 59.88 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.003369, allocations: 27.95 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003388, allocations: 8.531 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.886e-05/0.003436, allocations: 21.38 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.003459, allocations: 15.91 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.003494, allocations: 31.92 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003623, allocations: 95.69 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003625, allocations: 1.156 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003626, allocations: 0 / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.003629, allocations: 0 / 0.8152 GB, free: 14.95 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.0003451/0.003974, allocations: 439 kB / 0.8156 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.004004, allocations: 8.031 kB / 0.8157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.004044, allocations: 17.8 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.004191, allocations: 153.5 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004202, allocations: 4.375 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.004215, allocations: 4.375 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.004292, allocations: 82.62 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.0043, allocations: 192 / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.004306, allocations: 384 / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.004312, allocations: 4.375 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.616e-05/0.004328, allocations: 21.8 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.004613, allocations: 0.5256 MB / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.004655, allocations: 31 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.925e-06/0.004663, allocations: 7.688 kB / 0.8165 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-06/0.004667, allocations: 5.562 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.312e-05/0.00474, allocations: 65.09 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.004741, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001322/0.004873, allocations: 61.58 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.004903, allocations: 56.38 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.004989, allocations: 197.8 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.005003, allocations: 30.23 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.005056, allocations: 142.8 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.005062, allocations: 4.469 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.005109, allocations: 48.42 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002706/0.00538, allocations: 0.4884 MB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.005424, allocations: 49.67 kB / 0.8176 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.005472, allocations: 77.34 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.146e-05/0.005533, allocations: 86.05 kB / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005535, allocations: 0 / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001624/0.005698, allocations: 177.7 kB / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.005724, allocations: 36.36 kB / 0.8179 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005728, allocations: 1.281 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.005736, allocations: 0 / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.317e-05/0.005749, allocations: 4 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.005752, allocations: 0.8438 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.005858, allocations: 28.89 kB / 0.818 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.00587, allocations: 4 kB / 0.818 GB, free: 11.85 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 6.425e-05/0.005934, allocations: 162 kB / 0.8181 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.005943, allocations: 7.938 kB / 0.8181 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.005964, allocations: 16.33 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.005965, allocations: 0 / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005967, allocations: 1.281 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.005969, allocations: 0 / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.435e-05/0.006034, allocations: 105.2 kB / 0.8183 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.006034, allocations: 4 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.006037, allocations: 3.062 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.006038, allocations: 0 / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.006043, allocations: 4.172 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006044, allocations: 4.062 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.006045, allocations: 0 / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.153e-05/0.006117, allocations: 96.36 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.006126, allocations: 7.953 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.006135, allocations: 3.938 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-06/0.006143, allocations: 0.5 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.006159, allocations: 9.094 kB / 0.8184 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.006161, allocations: 0 / 0.8184 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.006201, allocations: 146.5 kB / 0.8185 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006201, allocations: 0 / 0.8185 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001353/0.006336, allocations: 29.06 kB / 0.8186 GB, free: 11.21 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 8.458e-05/0.006421, allocations: 96.25 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.006587, allocations: 136.8 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006589, allocations: 1.344 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.006613, allocations: 19.62 kB / 0.8188 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.006757, allocations: 13.02 kB / 0.8188 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.006965, allocations: 166.7 kB / 0.819 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.524e-05/0.00699, allocations: 63.88 kB / 0.819 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.613e-05/0.007007, allocations: 3.984 kB / 0.819 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.007072, allocations: 88.75 kB / 0.8191 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.007072, allocations: 0 / 0.8191 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.002792/0.009864, allocations: 1.325 MB / 0.8204 GB, free: 9.273 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.035921389237046]