Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008456, allocations: 92.31 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009968/0.0009968, allocations: 180.9 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.734/2.734, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 8.188 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2953, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.003367/0.2987, allocations: 2.164 MB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.301, allocations: 1.165 MB / 1.063 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.3015, allocations: 11.94 kB / 1.063 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.3017, allocations: 39.66 kB / 1.063 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.3019, allocations: 27.78 kB / 1.063 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009254/0.3028, allocations: 306.6 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006726/0.3035, allocations: 0.5186 MB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005539/0.3041, allocations: 317.1 kB / 1.064 GB, free: 392 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.3043, allocations: 139.4 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.3046, allocations: 143.2 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.3046, allocations: 20 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3048, allocations: 35.92 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.652e-05/0.3049, allocations: 59.81 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.3051, allocations: 188.8 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.3056, allocations: 0.5029 MB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3056, allocations: 0 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3056, allocations: 0 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.383e-05/0.3056, allocations: 0 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.0009772/0.3066, allocations: 0.578 MB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3066, allocations: 12.03 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.3068, allocations: 44.47 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.3073, allocations: 331.7 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.3073, allocations: 33.31 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.3074, allocations: 48.36 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008134/0.3082, allocations: 435.1 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3083, allocations: 8.172 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.3083, allocations: 19.94 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3083, allocations: 8 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.3089, allocations: 270.4 kB / 1.067 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.3109, allocations: 1.683 MB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.3114, allocations: 252 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.3116, allocations: 134.5 kB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.3116, allocations: 8 kB / 1.069 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004467/0.3121, allocations: 234.2 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=31): time 3.477e-06/0.3121, allocations: 3.938 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31): time 0.0009239/0.313, allocations: 422.6 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.3131, allocations: 106.8 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter holTim.ph.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter hol.ph.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.3134, allocations: 227.5 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.3135, allocations: 49.69 kB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3136, allocations: 196.6 kB / 1.07 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.071e-05/0.3137, allocations: 75.09 kB / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3138, allocations: 73.67 kB / 1.07 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.314, allocations: 334.8 kB / 1.07 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.3143, allocations: 128.9 kB / 1.07 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.3146, allocations: 255.9 kB / 1.071 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.3152, allocations: 365.1 kB / 1.071 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3152, allocations: 0 / 1.071 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008533/0.3161, allocations: 484.2 kB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.3161, allocations: 43.59 kB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3162, allocations: 8 kB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3162, allocations: 4 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.3164, allocations: 59.84 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.3164, allocations: 8 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.3168, allocations: 71.64 kB / 1.072 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.3168, allocations: 20 kB / 1.072 GB, free: 7.906 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.holTim.truHol.onDelay.u,$PRE.holTim.truHol.toOutputTrue.enableFire,$PRE.holTim.truHol.toInitial.enableFire,$PRE.holTim.truHol.onDelay.t_next,$whenCondition4,$whenCondition2,$whenCondition3,holTim.truHol.toInitial.enableFire,holTim.truHol.toOutputTrue.enableFire,holTim.truHol.outputTrue.active,holTim.truHol.outputTrue.oldActive,$PRE.holTim.truHol.outputTrue.oldActive,holTim.truHol.outputTrue.newActive,$PRE.holTim.truHol.outputTrue.newActive,holTim.truHol.outputTrue.localActive,$PRE.holTim.truHol.outputTrue.localActive,holTim.truHol.initialStep.oldActive,$PRE.holTim.truHol.initialStep.oldActive,holTim.truHol.initialStep.newActive,$PRE.holTim.truHol.initialStep.newActive,holTim.truHol.initialStep.localActive,$PRE.holTim.truHol.initialStep.localActive,holTim.truHol.initialStep.active,holTim.truHol.onDelay.y,holTim.truHol.onDelay.u,holTim.truHol.stateGraphRoot.activeSteps,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition6,$whenCondition5,holTim.truHol.onDelay.t_next,holTim.truHol.toOutputTrue.t_start,$PRE.holTim.truHol.toOutputTrue.t_start,holTim.truHol.toInitial.t_start,$PRE.holTim.truHol.toInitial.t_start,holTim.truHol.stateGraphRoot.resume,holTim.truHol.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 0.0002957/0.3171, allocations: 210.9 kB / 1.072 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.3172, allocations: 27.66 kB / 1.072 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/0.3178, allocations: 328.1 kB / 1.072 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3178, allocations: 8 kB / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3178, allocations: 4 kB / 1.072 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3179, allocations: 0 / 1.072 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.319, allocations: 0.861 MB / 1.073 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.319, allocations: 0 / 1.073 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3191, allocations: 27.98 kB / 1.073 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.3192, allocations: 4 kB / 1.073 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.3192, allocations: 11.94 kB / 1.073 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3192, allocations: 0 / 1.073 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3192, allocations: 0 / 1.073 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.3198, allocations: 434.7 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.3199, allocations: 100.8 kB / 1.074 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.3199, allocations: 15.92 kB / 1.074 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.32, allocations: 15.98 kB / 1.074 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.3201, allocations: 27.91 kB / 1.074 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.3201, allocations: 19.98 kB / 1.074 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000112/0.3203, allocations: 137.4 kB / 1.074 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3203, allocations: 4 kB / 1.074 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004268/0.3207, allocations: 99.67 kB / 1.074 GB, free: 5.484 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (holTim.truHol.toInitial.t_start,holTim.truHol.toOutputTrue.t_start,holTim.truHol.outputTrue.localActive,holTim.truHol.onDelay.u,holTim.truHol.outputTrue.active,holTim.truHol.initialStep.active,$cse1,$cse2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,$whenCondition1,hol.triSam.y,booPul.y,holTim.triSam.y,holTim.truHol.stateGraphRoot.activeSteps,holTim.truHol.onDelay.y,holTim.truHol.onDelay.t_next,holTim.truHol.initialStep.localActive,holTim.truHol.initialStep.newActive,holTim.truHol.initialStep.oldActive,holTim.truHol.outputTrue.newActive,holTim.truHol.outputTrue.oldActive,holTim.truHol.toOutputTrue.enableFire,holTim.truHol.toInitial.enableFire) * Number of discrete states: 5 (holTim.truHol.onDelay.t_next,holTim.truHol.initialStep.newActive,holTim.truHol.outputTrue.newActive,holTim.truHol.toOutputTrue.t_start,holTim.truHol.toInitial.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002141/0.3209, allocations: 131.2 kB / 1.074 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006943/0.3216, allocations: 392.2 kB / 1.074 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3216, allocations: 0 / 1.074 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.3219, allocations: 147.8 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3223, allocations: 36.55 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.3233, allocations: 0.7031 MB / 1.075 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.3236, allocations: 0.7723 MB / 1.076 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.3237, allocations: 35.38 kB / 1.076 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3237, allocations: 0 / 1.076 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of Templates: time 0.006611/0.3303, allocations: 4.162 MB / 1.08 GB, free: 15.05 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1)