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.0009612/0.0009612, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001097/0.001097, allocations: 181 kB / 23.36 MB, free: 1.133 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.01/1.01, 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.441/2.441, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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.494e-06/2.494e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.726e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.21 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.001629/0.001656, allocations: 0.8553 MB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.002774, allocations: 1.224 MB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.002844, allocations: 7.938 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.002967, allocations: 23.73 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.003011, allocations: 15.86 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.003342, allocations: 147.6 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.003504, allocations: 175.5 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.003592, allocations: 22.23 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.00368, allocations: 83.88 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.411e-05/0.003764, allocations: 39.88 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.003787, allocations: 16 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.003846, allocations: 27.92 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.003872, allocations: 19.92 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.003922, allocations: 43.91 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.004073, allocations: 115.6 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004076, allocations: 4 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004076, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.00408, allocations: 0 / 0.8413 GB, free: 11.38 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.0003991/0.004479, allocations: 342.1 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.004517, allocations: 8.625 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.004554, allocations: 16.92 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.004713, allocations: 146.2 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.004728, allocations: 8.375 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.004746, allocations: 12.36 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.004833, allocations: 93.38 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.004839, allocations: 192 / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004848, allocations: 8.375 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.004856, allocations: 384 / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.004879, allocations: 19.86 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.005131, allocations: 360.5 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.796e-05/0.005169, allocations: 26.64 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.005181, allocations: 12.86 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-06/0.005186, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/0.005252, allocations: 67.31 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.005253, allocations: 0 / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 9.735e-05/0.00535, allocations: 53.67 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.005376, allocations: 51.41 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.005454, allocations: 161.8 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.005466, allocations: 25.7 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.005503, allocations: 100.1 kB / 0.8428 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.607e-06/0.005512, allocations: 11.94 kB / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.005551, allocations: 29.69 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.005619, allocations: 322.8 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.975e-05/0.005659, allocations: 53.62 kB / 0.8432 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.005704, allocations: 76.19 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.005758, allocations: 80.31 kB / 0.8433 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00576, allocations: 0 / 0.8433 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.005868, allocations: 148.9 kB / 0.8434 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.005896, allocations: 43.88 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005901, allocations: 0 / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.005912, allocations: 4.234 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.005946, allocations: 4 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.00595, allocations: 8 kB / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-05/0.00604, allocations: 23.92 kB / 0.8435 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.00605, allocations: 4 kB / 0.8435 GB, free: 8.875 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 5.549e-05/0.006106, allocations: 117.8 kB / 0.8436 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.006115, allocations: 15.91 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.006135, allocations: 8.344 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.006136, allocations: 0 / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.006138, allocations: 0 / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006141, allocations: 4 kB / 0.8437 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.366e-05/0.006204, allocations: 93.84 kB / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.006205, allocations: 0 / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.006212, allocations: 0 / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006214, allocations: 3.938 kB / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-06/0.006217, allocations: 0 / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.006219, allocations: 4 kB / 0.8438 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.00622, allocations: 0 / 0.8438 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.325e-05/0.006273, allocations: 73.05 kB / 0.8438 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.006282, allocations: 3.953 kB / 0.8438 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.006291, allocations: 7.938 kB / 0.8439 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.006302, allocations: 4 kB / 0.8439 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.006321, allocations: 7.984 kB / 0.8439 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.006324, allocations: 4 kB / 0.8439 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.264e-05/0.006347, allocations: 31.47 kB / 0.8439 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006347, allocations: 0 / 0.8439 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001129/0.00646, allocations: 20 kB / 0.8439 GB, free: 8.434 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 9.225e-05/0.006552, allocations: 88.47 kB / 0.844 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.006668, allocations: 141.8 kB / 0.8441 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.00667, allocations: 0 / 0.8441 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.006688, allocations: 20.97 kB / 0.8442 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.006795, allocations: 21.48 kB / 0.8442 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.007015, allocations: 188.2 kB / 0.8444 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.621e-05/0.007041, allocations: 59.34 kB / 0.8444 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.007062, allocations: 4.734 kB / 0.8444 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.007128, allocations: 67.36 kB / 0.8445 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.007128, allocations: 0 / 0.8445 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of Templates: time 0.003718/0.01085, allocations: 1.665 MB / 0.8461 GB, free: 6.145 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 -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.4490473456680775]