Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.0009755/0.0009755, 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.0009926/0.0009926, 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.082/1.082, 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.533/2.533, allocations: 438.8 MB / 0.6826 GB, free: 13.58 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.442e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.00291/0.002934, allocations: 0.8984 MB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.004958, allocations: 1.224 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.005074, allocations: 7.938 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.005262, allocations: 19.8 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.005335, allocations: 23.78 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.005884, allocations: 147.6 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.00618, allocations: 171.6 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.006327, allocations: 22.23 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.006477, allocations: 87.81 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.006609, allocations: 39.88 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.006645, allocations: 12 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.00675, allocations: 24 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.006782, allocations: 23.91 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.006851, allocations: 39.91 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.00709, allocations: 123.6 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.007102, allocations: 0 / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.353e-06/0.007104, allocations: 0 / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.007112, allocations: 4 kB / 0.8414 GB, free: 11.31 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004699/0.007582, allocations: 338.1 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.007621, allocations: 12.62 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.007664, allocations: 16.92 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.007867, allocations: 146.2 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.007891, allocations: 16.36 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.007909, allocations: 16.36 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.008016, allocations: 77.52 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.008025, allocations: 192 / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.008034, allocations: 4.375 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.008042, allocations: 4.375 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.008078, allocations: 23.84 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.008423, allocations: 356.5 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.184e-05/0.008465, allocations: 30.64 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.17e-05/0.008477, allocations: 8.797 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-06/0.008483, allocations: 7.984 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.802e-05/0.008561, allocations: 59.39 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.008562, allocations: 0 / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001103/0.008673, allocations: 53.67 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.0087, allocations: 55.41 kB / 0.8426 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.008791, allocations: 157.8 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.008808, allocations: 33.64 kB / 0.8428 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.008849, allocations: 100.1 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.008861, allocations: 7.938 kB / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.008907, allocations: 33.69 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.008989, allocations: 326.8 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.009043, allocations: 45.69 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.009091, allocations: 76.19 kB / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.371e-05/0.009155, allocations: 72.25 kB / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009157, allocations: 0 / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001528/0.00931, allocations: 152.9 kB / 0.8435 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.009346, allocations: 41.69 kB / 0.8436 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.009351, allocations: 0 / 0.8436 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.009365, allocations: 8 kB / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.009408, allocations: 4 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.009412, allocations: 0 / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.009518, allocations: 27.92 kB / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.009532, allocations: 4.078 kB / 0.8436 GB, free: 8.805 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.905e-05/0.009601, allocations: 113.8 kB / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.009612, allocations: 11.92 kB / 0.8437 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.009633, allocations: 8.344 kB / 0.8437 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.009634, allocations: 3.938 kB / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.009636, allocations: 4.062 kB / 0.8437 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.00964, allocations: 4 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.328e-05/0.009713, allocations: 93.78 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.009714, allocations: 0 / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.009723, allocations: 4 kB / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.009726, allocations: 3.938 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.00973, allocations: 0 / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009731, allocations: 3.984 kB / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.009734, allocations: 3.938 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.538e-05/0.009799, allocations: 77.33 kB / 0.8439 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.009809, allocations: 3.953 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.00982, allocations: 11.94 kB / 0.8439 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.009832, allocations: 0 / 0.8439 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.009852, allocations: 7.984 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.009854, allocations: 0 / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.78e-05/0.009882, allocations: 35.67 kB / 0.844 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009882, allocations: 0 / 0.844 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001254/0.01001, allocations: 16 kB / 0.844 GB, free: 8.359 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.000108/0.01012, allocations: 88.41 kB / 0.8441 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.01025, allocations: 141.9 kB / 0.8442 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01025, allocations: 0 / 0.8442 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.01027, allocations: 12.86 kB / 0.8442 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.01039, allocations: 15.98 kB / 0.8443 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.01064, allocations: 188.2 kB / 0.8444 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.01067, allocations: 63.34 kB / 0.8445 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.0107, allocations: 4.734 kB / 0.8445 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.01077, allocations: 71.42 kB / 0.8446 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.01077, allocations: 0 / 0.8446 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of Templates: time 0.003364/0.01414, allocations: 1.67 MB / 0.8462 GB, free: 6.074 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.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.431512495037168]