Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001593/0.001593, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00186/0.00186, allocations: 177 kB / 23.36 MB, free: 1.129 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.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.441/2.441, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.511e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.005747/0.005782, allocations: 0.7961 MB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.007627, allocations: 1.201 MB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.952e-05/0.007726, allocations: 7.938 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.007898, allocations: 19.8 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.007946, allocations: 11.88 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.008493, allocations: 135.5 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.008729, allocations: 123.7 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.008851, allocations: 27.83 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.008974, allocations: 63.89 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.009091, allocations: 35.88 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.009129, allocations: 8 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.009231, allocations: 16 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.009259, allocations: 11.98 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.00932, allocations: 35.91 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.009529, allocations: 95.64 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.009534, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.753e-06/0.009536, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.009542, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 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.0005006/0.01004, allocations: 310.4 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.01009, allocations: 12.62 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.01015, allocations: 16.92 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.01038, allocations: 145 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.0104, allocations: 8.375 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.01042, allocations: 8.312 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.01054, allocations: 68.81 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01055, allocations: 192 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.01056, allocations: 384 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.01057, allocations: 4.359 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.01059, allocations: 19.88 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.01097, allocations: 348.5 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.421e-05/0.01101, allocations: 18.58 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.227e-05/0.01102, allocations: 8.922 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.01103, allocations: 0 / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.01113, allocations: 59.31 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.01113, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001477/0.01128, allocations: 49.62 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.01133, allocations: 55.39 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.01144, allocations: 142.6 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.01146, allocations: 29.7 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.01152, allocations: 92.08 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.01153, allocations: 3.953 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.0116, allocations: 37.67 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003983/0.012, allocations: 318.8 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.01208, allocations: 45.69 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.01215, allocations: 64.27 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.262e-05/0.01224, allocations: 76.17 kB / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01224, allocations: 4 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001914/0.01244, allocations: 156.9 kB / 0.8431 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.01247, allocations: 29.7 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01248, allocations: 0 / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.01249, allocations: 4 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.359e-05/0.01252, allocations: 0 / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01252, allocations: 3.984 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.01269, allocations: 31.86 kB / 0.8432 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.01271, allocations: 4 kB / 0.8432 GB, free: 9.188 MB / 0.8073 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 9.412e-05/0.0128, allocations: 117.9 kB / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.01282, allocations: 11.92 kB / 0.8433 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.01285, allocations: 4.344 kB / 0.8433 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01285, allocations: 0 / 0.8433 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01285, allocations: 0 / 0.8433 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01286, allocations: 0 / 0.8433 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.269e-05/0.01295, allocations: 77.88 kB / 0.8434 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01295, allocations: 0 / 0.8434 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-06/0.01296, allocations: 0 / 0.8434 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01296, allocations: 240 / 0.8434 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.01297, allocations: 15.94 kB / 0.8434 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01298, allocations: 7.984 kB / 0.8434 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01298, allocations: 4 kB / 0.8434 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.149e-05/0.01307, allocations: 69.05 kB / 0.8435 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.01308, allocations: 4 kB / 0.8435 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.01309, allocations: 3.938 kB / 0.8435 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.865e-05/0.01311, allocations: 0 / 0.8435 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.01314, allocations: 3.984 kB / 0.8435 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.01314, allocations: 0 / 0.8435 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.01317, allocations: 28.83 kB / 0.8435 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01317, allocations: 0 / 0.8435 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002056/0.01338, allocations: 27.89 kB / 0.8436 GB, free: 8.77 MB / 0.8073 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.0001537/0.01353, allocations: 84.41 kB / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.0137, allocations: 129.9 kB / 0.8438 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.0137, allocations: 0 / 0.8438 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.171e-05/0.01372, allocations: 12.86 kB / 0.8438 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.01387, allocations: 14.23 kB / 0.8438 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.01419, allocations: 153.2 kB / 0.8439 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.01429, allocations: 65.53 kB / 0.844 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.37e-05/0.01431, allocations: 4 kB / 0.844 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.01441, allocations: 67.34 kB / 0.8441 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.01441, allocations: 0 / 0.8441 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of Templates: time 0.004026/0.01843, allocations: 1.3 MB / 0.8453 GB, free: 6.898 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.396838268265128]