Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.0009736/0.0009736, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001026/0.001026, allocations: 169 kB / 24.28 MB, free: 272 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 0.9352/0.9352, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.829/1.829, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.8115 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.389e-05, allocations: 5.984 kB / 0.8115 GB, free: 0.9219 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002289/0.002323, allocations: 0.9261 MB / 0.8124 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.003974, allocations: 1.214 MB / 0.8136 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.245e-05/0.004067, allocations: 7.938 kB / 0.8136 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.004223, allocations: 28.84 kB / 0.8136 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.004276, allocations: 11.81 kB / 0.8136 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.00474, allocations: 149.1 kB / 0.8138 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.004969, allocations: 175.5 kB / 0.8139 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.005097, allocations: 33.47 kB / 0.814 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.005218, allocations: 84.8 kB / 0.8141 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.005321, allocations: 39.89 kB / 0.8141 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.005351, allocations: 12 kB / 0.8141 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.005422, allocations: 28.84 kB / 0.8141 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.005451, allocations: 19.88 kB / 0.8142 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.006645, allocations: 49.44 kB / 0.8142 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.007008, allocations: 115.7 kB / 0.8143 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.007013, allocations: 0 / 0.8143 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/0.007015, allocations: 0 / 0.8143 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.007021, allocations: 1.625 kB / 0.8143 GB, free: 14.05 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.0005836/0.007605, allocations: 457.5 kB / 0.8148 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.007649, allocations: 12.03 kB / 0.8148 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.007721, allocations: 12.89 kB / 0.8148 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.007986, allocations: 171.5 kB / 0.8149 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.008009, allocations: 8.375 kB / 0.8149 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.008031, allocations: 8.359 kB / 0.815 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.008192, allocations: 99.22 kB / 0.8151 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.008203, allocations: 192 / 0.8151 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.008216, allocations: 4.375 kB / 0.8151 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.008226, allocations: 384 / 0.8151 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.008289, allocations: 33.77 kB / 0.8151 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.008867, allocations: 0.595 MB / 0.8157 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.008931, allocations: 31.05 kB / 0.8157 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.008955, allocations: 14.22 kB / 0.8157 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-06/0.008962, allocations: 0 / 0.8157 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.009076, allocations: 68.98 kB / 0.8158 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.009077, allocations: 0 / 0.8158 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002114/0.009288, allocations: 65.64 kB / 0.8158 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.009333, allocations: 59.39 kB / 0.8159 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.009494, allocations: 203.3 kB / 0.8161 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.00952, allocations: 30.42 kB / 0.8161 GB, free: 12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.009606, allocations: 158.7 kB / 0.8163 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.009625, allocations: 8.484 kB / 0.8163 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.009694, allocations: 41.02 kB / 0.8163 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.009845, allocations: 0.4961 MB / 0.8168 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.009947, allocations: 53.69 kB / 0.8169 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.01005, allocations: 88.73 kB / 0.8169 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.01017, allocations: 85.47 kB / 0.817 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01017, allocations: 5.094 kB / 0.817 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002945/0.01046, allocations: 185 kB / 0.8172 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.0105, allocations: 34.84 kB / 0.8172 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01051, allocations: 4 kB / 0.8172 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01052, allocations: 0 / 0.8172 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.01058, allocations: 5.375 kB / 0.8172 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01058, allocations: 4 kB / 0.8172 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.01073, allocations: 21.08 kB / 0.8173 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.01075, allocations: 7.984 kB / 0.8173 GB, free: 10.73 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: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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 9.659e-05/0.01085, allocations: 160.5 kB / 0.8174 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.01087, allocations: 20.53 kB / 0.8174 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.0109, allocations: 5.062 kB / 0.8175 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01091, allocations: 4 kB / 0.8175 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01091, allocations: 4.781 kB / 0.8175 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.01092, allocations: 4.219 kB / 0.8175 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.01104, allocations: 142.4 kB / 0.8176 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01104, allocations: 4 kB / 0.8176 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.01106, allocations: 7.922 kB / 0.8176 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01106, allocations: 0 / 0.8176 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.01107, allocations: 0 / 0.8176 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.01108, allocations: 4.781 kB / 0.8176 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01108, allocations: 0 / 0.8176 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.01121, allocations: 104.3 kB / 0.8177 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.01122, allocations: 6.328 kB / 0.8177 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.01123, allocations: 4 kB / 0.8177 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.713e-05/0.01125, allocations: 0 / 0.8177 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.01127, allocations: 3.984 kB / 0.8177 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.01128, allocations: 4 kB / 0.8177 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.897e-05/0.01134, allocations: 153.6 kB / 0.8179 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01134, allocations: 1.969 kB / 0.8179 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001415/0.01148, allocations: 20 kB / 0.8179 GB, free: 10.03 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: 3 ($whenCondition1,$whenCondition2,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.0001288/0.01161, allocations: 115.2 kB / 0.818 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.01178, allocations: 149.2 kB / 0.8182 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01178, allocations: 1.344 kB / 0.8182 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.0118, allocations: 23.62 kB / 0.8182 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.01197, allocations: 26.89 kB / 0.8182 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.01224, allocations: 186.6 kB / 0.8184 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.173e-05/0.01228, allocations: 66.97 kB / 0.8184 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.0123, allocations: 4.734 kB / 0.8184 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.01232, allocations: 12.5 kB / 0.8185 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.01232, allocations: 0 / 0.8185 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of Templates: time 0.002927/0.01524, allocations: 1.542 MB / 0.82 GB, free: 7.902 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.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.096308173146099]