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.001297/0.001297, 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.001475/0.001475, 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.9179/0.9179, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.924/1.924, allocations: 377.9 MB / 0.6236 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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.494e-06/2.494e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.539e-05, allocations: 2.812 kB / 0.8115 GB, free: 1.703 MB / 0.7605 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.00171/0.001735, allocations: 0.928 MB / 0.8124 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.003105, allocations: 1.217 MB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.003197, allocations: 4.625 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.003348, allocations: 31.72 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.003401, allocations: 16.78 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.003833, allocations: 144.2 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.004034, allocations: 176.4 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.004141, allocations: 21.58 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.00423, allocations: 84.92 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.004323, allocations: 39.83 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.004353, allocations: 16 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.004422, allocations: 33.56 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.004448, allocations: 7.938 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.004505, allocations: 47.89 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004681, allocations: 115.6 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004684, allocations: 1.531 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.51e-07/0.004685, allocations: 0 / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004689, allocations: 0 / 0.8143 GB, free: 14.84 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004793/0.005169, allocations: 461.9 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.005206, allocations: 9.281 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.005269, allocations: 28.78 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.005481, allocations: 165.7 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.005501, allocations: 4.375 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.005521, allocations: 12.38 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.005648, allocations: 94.44 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.005657, allocations: 2.281 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.005672, allocations: 4.375 kB / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.00568, allocations: 384 / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.00572, allocations: 31.84 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.006431, allocations: 0.5912 MB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.006491, allocations: 35.58 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.00651, allocations: 12.47 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.006518, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.108e-05/0.006609, allocations: 65.55 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.00661, allocations: 1.531 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001741/0.006784, allocations: 73.56 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.006815, allocations: 55.41 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.006923, allocations: 208.7 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.006941, allocations: 30.33 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.007003, allocations: 159.7 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.007016, allocations: 3.953 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.007071, allocations: 35.36 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.007208, allocations: 0.4969 MB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.00728, allocations: 53.69 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.007354, allocations: 89.33 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.863e-05/0.007443, allocations: 90.03 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.007447, allocations: 4.062 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001986/0.007646, allocations: 182.7 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.007679, allocations: 45.62 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.007685, allocations: 0 / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.007698, allocations: 0 / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.007757, allocations: 5.25 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.007764, allocations: 3.938 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.007874, allocations: 20.91 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.007892, allocations: 11.98 kB / 0.8173 GB, free: 11.51 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 ($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 8.047e-05/0.007973, allocations: 170.8 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.007985, allocations: 7.953 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.008009, allocations: 12.34 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.008011, allocations: 3.984 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008015, allocations: 0 / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008018, allocations: 0 / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.197e-05/0.00811, allocations: 152 kB / 0.8176 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008112, allocations: 0 / 0.8176 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.008123, allocations: 0 / 0.8176 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.008124, allocations: 4 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.008131, allocations: 0 / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.008132, allocations: 0 / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008133, allocations: 0 / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.884e-05/0.008232, allocations: 104.2 kB / 0.8177 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.008244, allocations: 7.953 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.008256, allocations: 4 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/0.008269, allocations: 0.9062 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.008298, allocations: 7.984 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.008303, allocations: 0.5 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.008358, allocations: 147.2 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008358, allocations: 4.562 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001494/0.008508, allocations: 28.45 kB / 0.8179 GB, free: 10.8 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.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.0001268/0.008635, allocations: 100.7 kB / 0.818 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.008813, allocations: 156.7 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.008815, allocations: 0.75 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.008842, allocations: 20.48 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.009014, allocations: 20.88 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.009307, allocations: 190.5 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.009339, allocations: 67.28 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.009364, allocations: 5.391 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.009384, allocations: 13.66 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.009385, allocations: 3.938 kB / 0.8185 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of Templates: time 0.003463/0.01285, allocations: 1.648 MB / 0.8201 GB, free: 8.566 MB / 0.7761 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.262750214897096]