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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",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.001528/0.001528, allocations: 110.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 469.4 MB / 0.7428 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.7248, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.003623/0.7285, allocations: 2.445 MB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.7303, allocations: 1.153 MB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.7305, allocations: 11.94 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.7307, allocations: 59.41 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.7308, allocations: 39.59 kB / 1.225 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.7316, allocations: 338.7 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.7321, allocations: 0.585 MB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004805/0.7326, allocations: 394.7 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.7329, allocations: 195.5 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.7331, allocations: 187.2 kB / 1.226 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.7332, allocations: 60 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.7333, allocations: 91.95 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.7334, allocations: 107.7 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.7336, allocations: 219.1 kB / 1.227 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005888/0.7342, allocations: 0.6734 MB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7343, allocations: 0 / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7343, allocations: 0 / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.7343, allocations: 4 kB / 1.227 GB, free: 11.78 MB / 0.9512 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.001013/0.7353, allocations: 0.6696 MB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7353, allocations: 12.03 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.7355, allocations: 40.55 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.7359, allocations: 348 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.736, allocations: 33.38 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.7361, allocations: 48.36 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006774/0.7367, allocations: 431.1 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.7368, allocations: 8.172 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.7368, allocations: 19.94 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.7368, allocations: 8 kB / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.7373, allocations: 266.4 kB / 1.229 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.739, allocations: 1.66 MB / 1.231 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.7394, allocations: 259.9 kB / 1.231 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.7396, allocations: 126.5 kB / 1.231 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.7397, allocations: 4 kB / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003643/0.74, allocations: 237.7 kB / 1.231 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.74, allocations: 0 / 1.231 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.0008094/0.7409, allocations: 409.2 kB / 1.232 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.7409, allocations: 118.8 kB / 1.232 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.7411, allocations: 219.5 kB / 1.232 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.7412, allocations: 53.94 kB / 1.232 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.7413, allocations: 192.4 kB / 1.232 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.7414, allocations: 79 kB / 1.232 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.7416, allocations: 110.1 kB / 1.232 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7417, allocations: 342.8 kB / 1.233 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.7419, allocations: 121 kB / 1.233 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.7423, allocations: 255.9 kB / 1.233 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.7428, allocations: 369.5 kB / 1.233 GB, free: 5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7428, allocations: 0 / 1.233 GB, free: 5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007671/0.7436, allocations: 475.8 kB / 1.234 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.7436, allocations: 37.69 kB / 1.234 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7436, allocations: 4.5 kB / 1.234 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.7436, allocations: 12 kB / 1.234 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.7439, allocations: 51.84 kB / 1.234 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.7439, allocations: 7.938 kB / 1.234 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.7442, allocations: 63.64 kB / 1.234 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.7442, allocations: 20 kB / 1.234 GB, free: 4.324 MB / 0.9512 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.0001985/0.7444, allocations: 203 kB / 1.234 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.7445, allocations: 31.66 kB / 1.234 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.7451, allocations: 324.1 kB / 1.235 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.7451, allocations: 0 / 1.235 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7451, allocations: 0 / 1.235 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.7451, allocations: 100.8 kB / 1.235 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.7452, allocations: 11.98 kB / 1.235 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.7453, allocations: 11.98 kB / 1.235 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.7454, allocations: 31.97 kB / 1.235 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006645/0.746, allocations: 0.562 MB / 1.235 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006111/0.7467, allocations: 0.6433 MB / 1.236 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002102/0.7469, allocations: 131.9 kB / 1.236 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001003/0.747, allocations: 141.5 kB / 1.236 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of Backend: time 3.71e-07/0.747, allocations: 0 / 1.236 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.748, allocations: 400 kB / 1.237 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009298/0.749, allocations: 0.913 MB / 1.237 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of Templates: time 0.007312/0.7563, allocations: 3.685 MB / 1.241 GB, free: 13.06 MB / 0.9669 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches