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.001422/0.001422, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001789/0.00179, allocations: 183.9 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.499/2.499, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7071, allocations: 157.4 MB / 1.208 GB, free: 13.68 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.005093/0.7123, allocations: 2.439 MB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.7149, allocations: 1.153 MB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.7155, allocations: 15.88 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.7158, allocations: 51.47 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.716, allocations: 39.53 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.7171, allocations: 347 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007192/0.7178, allocations: 0.585 MB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005591/0.7184, allocations: 386.8 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.7187, allocations: 195.4 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.719, allocations: 195.2 kB / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.7191, allocations: 64 kB / 1.214 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.7193, allocations: 79.98 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.7194, allocations: 111.7 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.7197, allocations: 219.1 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.7205, allocations: 0.6734 MB / 1.215 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.7205, allocations: 4 kB / 1.215 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7205, allocations: 4 kB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.7205, allocations: 0 / 1.215 GB, free: 7.137 MB / 0.9356 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.001183/0.7217, allocations: 0.6658 MB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.7217, allocations: 8.031 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.7219, allocations: 48.47 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.7223, allocations: 339.5 kB / 1.216 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.7224, allocations: 45.3 kB / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.7224, allocations: 44.38 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.7232, allocations: 431.1 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.7232, allocations: 4.125 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.7233, allocations: 19.94 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.7233, allocations: 11.98 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.7238, allocations: 258.5 kB / 1.217 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.7256, allocations: 1.66 MB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.7261, allocations: 255.8 kB / 1.218 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.7263, allocations: 130.6 kB / 1.219 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.7263, allocations: 7.984 kB / 1.219 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/0.7267, allocations: 238.2 kB / 1.219 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.7267, allocations: 0 / 1.219 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31): time 0.0008118/0.7275, allocations: 407.7 kB / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.7276, allocations: 119 kB / 1.219 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.7278, allocations: 227.5 kB / 1.22 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.7279, allocations: 45.7 kB / 1.22 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.728, allocations: 188.4 kB / 1.22 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.7281, allocations: 75 kB / 1.22 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.7283, allocations: 122.1 kB / 1.22 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7284, allocations: 330.8 kB / 1.22 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.7287, allocations: 128.9 kB / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.729, allocations: 247.9 kB / 1.221 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.7296, allocations: 373 kB / 1.221 GB, free: 368 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7296, allocations: 4 kB / 1.221 GB, free: 364 kB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008012/0.7304, allocations: 472.8 kB / 1.221 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.7304, allocations: 37.7 kB / 1.221 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7304, allocations: 8.031 kB / 1.221 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.7305, allocations: 8 kB / 1.221 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.7307, allocations: 51.84 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.7307, allocations: 11.98 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.731, allocations: 59.56 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.7311, allocations: 27.98 kB / 1.222 GB, free: 15.67 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.0002058/0.7313, allocations: 199 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.7313, allocations: 35.58 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.7319, allocations: 320.1 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.7319, allocations: 0 / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.732, allocations: 4 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.732, allocations: 108.7 kB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.7321, allocations: 16 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.7322, allocations: 11.98 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.7323, allocations: 27.97 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000658/0.7329, allocations: 0.5538 MB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006094/0.7335, allocations: 0.6359 MB / 1.223 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002136/0.7338, allocations: 139.9 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001029/0.7339, allocations: 137.5 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of Backend: time 4.81e-07/0.7339, allocations: 0 / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009647/0.7349, allocations: 390.3 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009671/0.7358, allocations: 0.9208 MB / 1.225 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of Templates: time 0.007688/0.7435, allocations: 3.682 MB / 1.229 GB, free: 8.434 MB / 0.9512 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