Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001682/0.001682, allocations: 80.92 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.002019/0.002019, allocations: 161 kB / 24.17 MB, free: 332 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 1.046/1.046, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.966/1.966, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.781e-05, allocations: 5.672 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.002051/0.002079, allocations: 0.8995 MB / 0.7609 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.003541, allocations: 1.224 MB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.003622, allocations: 4.875 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.003736, allocations: 21.66 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.003792, allocations: 25.5 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.004198, allocations: 145.5 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.004438, allocations: 176.2 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004539, allocations: 30.2 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.004648, allocations: 76.92 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.004743, allocations: 43.86 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.004769, allocations: 16.53 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.004847, allocations: 24 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.004871, allocations: 21.45 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.004922, allocations: 39.91 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.005105, allocations: 115.7 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005107, allocations: 3.938 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005108, allocations: 5.219 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.005111, allocations: 0 / 0.7628 GB, free: 3.77 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.0003861/0.005497, allocations: 342.1 kB / 0.7632 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.005528, allocations: 9.312 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.005567, allocations: 12.92 kB / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.005762, allocations: 147.7 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.005779, allocations: 5.125 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.005797, allocations: 12.38 kB / 0.7634 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.005911, allocations: 90.12 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.00592, allocations: 4.125 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.005929, allocations: 5.188 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.005935, allocations: 384 / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.005961, allocations: 13.31 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.006314, allocations: 364.5 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.006605, allocations: 30.5 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.006619, allocations: 10.05 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.006626, allocations: 4.062 kB / 0.7639 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.205e-05/0.006719, allocations: 67.31 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.00672, allocations: 1.156 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000112/0.006832, allocations: 57.61 kB / 0.764 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.006862, allocations: 55.41 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.006948, allocations: 148.8 kB / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.006964, allocations: 32.44 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.007004, allocations: 99.94 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.007015, allocations: 11.89 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.007059, allocations: 37.67 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.007136, allocations: 322.8 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.007192, allocations: 49.69 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.007253, allocations: 68.27 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.892e-05/0.007332, allocations: 91.11 kB / 0.7648 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007333, allocations: 0 / 0.7648 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001789/0.007512, allocations: 148.9 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.007554, allocations: 43.41 kB / 0.765 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.007559, allocations: 0 / 0.765 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.007577, allocations: 4 kB / 0.765 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.007624, allocations: 1.5 kB / 0.765 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.007629, allocations: 4 kB / 0.765 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.007758, allocations: 19.97 kB / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.007775, allocations: 8.656 kB / 0.7651 GB, free: 1.277 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: 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 9.769e-05/0.007872, allocations: 115.8 kB / 0.7652 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.00789, allocations: 11.92 kB / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.007926, allocations: 12.34 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.007929, allocations: 0 / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.007932, allocations: 0 / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.007936, allocations: 2.438 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.008053, allocations: 85.8 kB / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008055, allocations: 0 / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.61e-05/0.008071, allocations: 4 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.008075, allocations: 3.938 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.00808, allocations: 0 / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.008081, allocations: 0 / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.008083, allocations: 6.25 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.00819, allocations: 77.09 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.008207, allocations: 3.953 kB / 0.7654 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.008222, allocations: 7.938 kB / 0.7654 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/0.008243, allocations: 7.938 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.008267, allocations: 3.984 kB / 0.7654 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.008272, allocations: 1.031 kB / 0.7654 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.008313, allocations: 39.27 kB / 0.7654 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.008313, allocations: 0 / 0.7654 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00019/0.008503, allocations: 20.94 kB / 0.7655 GB, free: 0.8438 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: 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.0001492/0.008652, allocations: 82.72 kB / 0.7655 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.00883, allocations: 137.9 kB / 0.7657 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.008834, allocations: 3.938 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.008855, allocations: 16.8 kB / 0.7657 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.009065, allocations: 18.42 kB / 0.7657 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.009452, allocations: 192.1 kB / 0.7659 GB, free: 356 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.009488, allocations: 59.34 kB / 0.7659 GB, free: 276 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.00952, allocations: 5.203 kB / 0.7659 GB, free: 268 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.009613, allocations: 72.81 kB / 0.766 GB, free: 196 kB / 0.7136 GB Notification: Performance of SimCode: time 1.593e-06/0.009615, allocations: 0 / 0.766 GB, free: 196 kB / 0.7136 GB Notification: Performance of Templates: time 0.003723/0.01334, allocations: 1.674 MB / 0.7677 GB, free: 14.62 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.227118019014597]