Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.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.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plrToPul.uPLR|plrToPul.yEna|gaiTim.y|timEna.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse") translateModel(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plrToPul.uPLR|plrToPul.yEna|gaiTim.y|timEna.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001548, allocations: 103.9 kB / 16.41 MB, free: 6.5 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.001722/0.001723, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.402/1.402, allocations: 222.9 MB / 241 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.696/2.696, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 1.055 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9158/0.9173, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002377/0.9197, allocations: 1.133 MB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.9215, allocations: 1.334 MB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.9216, allocations: 4 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.9218, allocations: 23.67 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.9219, allocations: 23.72 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.9225, allocations: 218.7 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.9228, allocations: 359.4 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.9231, allocations: 102.9 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.9232, allocations: 135.7 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.9234, allocations: 135.5 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.75e-05/0.9235, allocations: 40 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.9236, allocations: 55.98 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.9237, allocations: 59.83 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.9238, allocations: 147.5 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.9243, allocations: 414.5 kB / 1.213 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9243, allocations: 0 / 1.213 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9243, allocations: 0 / 1.213 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.9243, allocations: 0 / 1.213 GB, free: 9.406 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001067/0.9254, allocations: 0.5695 MB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.9254, allocations: 12.03 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.9255, allocations: 28.73 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.9261, allocations: 284 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.9261, allocations: 28.3 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.9262, allocations: 32.38 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.9267, allocations: 221.6 kB / 1.214 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.9267, allocations: 3.938 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.9267, allocations: 11.98 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.9267, allocations: 4 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.9271, allocations: 147.9 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.9284, allocations: 0.6948 MB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.9289, allocations: 238.4 kB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.9292, allocations: 116.8 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.9292, allocations: 0 / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/0.9297, allocations: 266.8 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 3.296e-06/0.9297, allocations: 0 / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.001004/0.9307, allocations: 0.4903 MB / 1.216 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.9308, allocations: 59.41 kB / 1.216 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.9309, allocations: 168.7 kB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/0.931, allocations: 41.7 kB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/0.9311, allocations: 124.8 kB / 1.216 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.9311, allocations: 82.97 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.9313, allocations: 98.11 kB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.9314, allocations: 334.8 kB / 1.216 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.9317, allocations: 112.8 kB / 1.217 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.9321, allocations: 210.8 kB / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.9326, allocations: 317.9 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9326, allocations: 4 kB / 1.217 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007637/0.9334, allocations: 411.9 kB / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.9334, allocations: 37.69 kB / 1.217 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.9334, allocations: 4 kB / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.9335, allocations: 4 kB / 1.217 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.9336, allocations: 39.91 kB / 1.218 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.9337, allocations: 8.25 kB / 1.218 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.934, allocations: 63.73 kB / 1.218 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.934, allocations: 19.98 kB / 1.218 GB, free: 3.867 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 40 ($PRE.plrToPul.truDel.u,samPLR.firstTrigger,$PRE.samPLR.firstTrigger,timEna.passed,$PRE.timEna.passed,plrToPul.tim.passed,$PRE.plrToPul.tim.passed,$PRE.plrToPul.truDel.t_next,$whenCondition8,$whenCondition5,$whenCondition6,samPLR.sampleTrigger,$whenCondition14,samPLR.y,plrToPul.truDel.t_next,timEna.entryTime,$PRE.timEna.entryTime,plrToPul.truDel.y,plrToPul.truDel.u,plrToPul.notRes.y,plrToPul.andRes.y,plrToPul.pre1.u,$PRE.plrToPul.pre1.u,plrToPul.lat.y,plrToPul.booPul.y,$PRE.plrToPul.booPul.y,plrToPul.tim.entryTime,$PRE.plrToPul.tim.entryTime,plrToPul.triSam.y,$PRE.plrToPul.triSam.y,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition13,$whenCondition12,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001701/0.9342, allocations: 161.8 kB / 1.218 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.9342, allocations: 27.7 kB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.9343, allocations: 26 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.9343, allocations: 4 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.9343, allocations: 0 / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.9343, allocations: 7.922 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.9355, allocations: 0.8197 MB / 1.219 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9355, allocations: 0 / 1.219 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.9356, allocations: 15.98 kB / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.9356, allocations: 7.938 kB / 1.219 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.9356, allocations: 11.98 kB / 1.219 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.9356, allocations: 4 kB / 1.219 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9357, allocations: 0 / 1.219 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007105/0.9364, allocations: 483.8 kB / 1.219 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.9364, allocations: 104.7 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.9365, allocations: 11.98 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.9367, allocations: 23.97 kB / 1.219 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.9368, allocations: 35.95 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.9368, allocations: 19.98 kB / 1.219 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.069e-05/0.9369, allocations: 117.3 kB / 1.219 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9369, allocations: 0 / 1.219 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003611/0.9373, allocations: 75.83 kB / 1.219 GB, free: 1.832 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (plrToPul.truDel.u,plrToPul.andRes.y,samPLR.sampleTrigger,plrToPul.notRes.y,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,plrToPul.triSam.y,plrToPul.tim.passed,plrToPul.tim.entryTime,plrToPul.booPul.y,plrToPul.lat.y,plrToPul.pre1.u,plrToPul.truDel.y,plrToPul.truDel.t_next,timEna.passed,timEna.entryTime,samPLR.y,samPLR.firstTrigger) * Number of discrete states: 4 (plrToPul.truDel.t_next,plrToPul.pre1.u,timEna.entryTime,plrToPul.tim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0001959/0.9375, allocations: 137.4 kB / 1.22 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000721/0.9382, allocations: 379.4 kB / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9382, allocations: 0 / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.9385, allocations: 184.9 kB / 1.22 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.9389, allocations: 43.97 kB / 1.22 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007679/0.9397, allocations: 438.3 kB / 1.221 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.94, allocations: 0.7406 MB / 1.221 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.9401, allocations: 27.42 kB / 1.221 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.9401, allocations: 3.938 kB / 1.221 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of Templates: time 0.005457/0.9456, allocations: 3.315 MB / 1.225 GB, free: 12.53 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Heating_AirSource_Validation_BaseClasses_Validation_PLRToPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plrToPul.uPLR,plrToPul.yEna,gaiTim.y,timEna.y Variables in the result:gaiTim.y,plrToPul.uPLR,plrToPul.yEna,timEna.y,time