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.001034/0.001034, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001142/0.001142, allocations: 161 kB / 24.16 MB, free: 336 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.9218/0.9218, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.842/1.842, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.483e-06/1.483e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.485e-05, allocations: 6.812 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.001642/0.001666, allocations: 0.9133 MB / 0.7609 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.00303, allocations: 1.23 MB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.003107, allocations: 6.125 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.003239, allocations: 21.22 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.003297, allocations: 18.48 kB / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.003681, allocations: 140.8 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.003873, allocations: 175.7 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.003965, allocations: 30.22 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.517e-05/0.00406, allocations: 88.33 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.004142, allocations: 43.81 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.004162, allocations: 16.72 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.00422, allocations: 23.98 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.004243, allocations: 17 kB / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.004289, allocations: 47.89 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.004436, allocations: 117.7 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004438, allocations: 3.938 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004439, allocations: 0 / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.004442, allocations: 0 / 0.7628 GB, free: 3.777 MB / 0.7136 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.0003332/0.004775, allocations: 330.2 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.004807, allocations: 8.031 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.004844, allocations: 22.89 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.005043, allocations: 150.6 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.005062, allocations: 8.375 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.005082, allocations: 9.75 kB / 0.7633 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.005201, allocations: 85.5 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.005209, allocations: 4.125 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.005216, allocations: 4.375 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.00522, allocations: 1.594 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.005244, allocations: 19.92 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.005522, allocations: 361.3 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.918e-05/0.005561, allocations: 22.61 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.257e-05/0.005574, allocations: 17.83 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-06/0.005579, allocations: 0 / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.005645, allocations: 64.02 kB / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.005646, allocations: 0 / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 9.591e-05/0.005742, allocations: 55.45 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.00577, allocations: 59.34 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/0.005848, allocations: 150.1 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.005862, allocations: 25.7 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.006183, allocations: 108 kB / 0.7643 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.006194, allocations: 10.2 kB / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.006266, allocations: 33.62 kB / 0.7643 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.006333, allocations: 322.8 kB / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.006375, allocations: 45.69 kB / 0.7647 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.00642, allocations: 68.27 kB / 0.7647 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.006479, allocations: 82.92 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006481, allocations: 0 / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001255/0.006606, allocations: 156.9 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.006631, allocations: 37.7 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006635, allocations: 0 / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.006645, allocations: 0 / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.525e-05/0.00668, allocations: 5.406 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.006684, allocations: 3.984 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.006778, allocations: 28.94 kB / 0.765 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.006787, allocations: 0 / 0.765 GB, free: 1.305 MB / 0.7136 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 6.669e-05/0.006854, allocations: 118.8 kB / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.006864, allocations: 11.92 kB / 0.7651 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.006887, allocations: 4.344 kB / 0.7651 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.006889, allocations: 4.75 kB / 0.7652 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006891, allocations: 0 / 0.7652 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.006895, allocations: 8.672 kB / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.763e-05/0.006962, allocations: 81.88 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006963, allocations: 0.5 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.006973, allocations: 7.375 kB / 0.7652 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.006976, allocations: 3.938 kB / 0.7653 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.00698, allocations: 0 / 0.7653 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006981, allocations: 0 / 0.7653 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006981, allocations: 0 / 0.7653 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.933e-05/0.007041, allocations: 77.31 kB / 0.7653 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.007053, allocations: 11.95 kB / 0.7653 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.007063, allocations: 3.938 kB / 0.7653 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.007073, allocations: 0 / 0.7653 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.007092, allocations: 14.45 kB / 0.7654 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.007094, allocations: 0 / 0.7654 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.579e-05/0.007119, allocations: 32.69 kB / 0.7654 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007119, allocations: 3.938 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001166/0.007236, allocations: 27.92 kB / 0.7654 GB, free: 0.8555 MB / 0.7136 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 9.662e-05/0.007333, allocations: 89.27 kB / 0.7655 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.007468, allocations: 133.9 kB / 0.7656 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.007471, allocations: 1.125 kB / 0.7656 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.979e-05/0.007491, allocations: 20.78 kB / 0.7656 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.007603, allocations: 16.89 kB / 0.7657 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.007866, allocations: 181.3 kB / 0.7658 GB, free: 380 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.008058, allocations: 59.34 kB / 0.7659 GB, free: 300 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.00808, allocations: 6.484 kB / 0.7659 GB, free: 292 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.008154, allocations: 75.33 kB / 0.766 GB, free: 216 kB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.008155, allocations: 0 / 0.766 GB, free: 216 kB / 0.7136 GB Notification: Performance of Templates: time 0.004269/0.01242, allocations: 1.667 MB / 0.7676 GB, free: 14.65 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: 4.962789012119174]