Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001813/0.001813, allocations: 115.3 kB / 16.42 MB, free: 6.488 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.001697/0.001697, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.392/1.392, 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 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8683, allocations: 151.6 MB / 1.167 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002685/0.871, allocations: 1.141 MB / 1.168 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.8729, allocations: 1.346 MB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.8731, allocations: 4 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.8732, allocations: 23.67 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.8733, allocations: 27.72 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.874, allocations: 239.7 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.8744, allocations: 379.3 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.8746, allocations: 96.08 kB / 1.171 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.8748, allocations: 151.6 kB / 1.171 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.8749, allocations: 147.4 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.403e-05/0.875, allocations: 44 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.8751, allocations: 55.98 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.8752, allocations: 71.81 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.8754, allocations: 143.5 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.8758, allocations: 442.5 kB / 1.172 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8758, allocations: 0 / 1.172 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.592e-06/0.8758, allocations: 0 / 1.172 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.8759, allocations: 0 / 1.172 GB, free: 15.65 MB / 0.9044 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.001052/0.8769, allocations: 0.5812 MB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.877, allocations: 12.88 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.8771, allocations: 32.73 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.8776, allocations: 284.9 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.8777, allocations: 32.14 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.8777, allocations: 36.36 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.8782, allocations: 245.8 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.8782, allocations: 3.938 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.8783, allocations: 4 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.8783, allocations: 4 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.8787, allocations: 155.7 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.88, allocations: 0.7223 MB / 1.174 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.8806, allocations: 250.5 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.8808, allocations: 128.8 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.8809, allocations: 0 / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005501/0.8814, allocations: 324.1 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=38): time 2.926e-06/0.8814, allocations: 4 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38): time 0.00113/0.8826, allocations: 0.5203 MB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.8826, allocations: 67.39 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.8828, allocations: 168.9 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.8829, allocations: 45.7 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.883, allocations: 124.8 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/0.8831, allocations: 98.88 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.8832, allocations: 94.11 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8834, allocations: 338.8 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.8837, allocations: 128.9 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.884, allocations: 236.5 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.8846, allocations: 338.8 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8846, allocations: 0 / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008469/0.8855, allocations: 452 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.8855, allocations: 33.7 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8855, allocations: 8.344 kB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.8856, allocations: 4 kB / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.8858, allocations: 47.84 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.8858, allocations: 4 kB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.8861, allocations: 59.7 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.8862, allocations: 27.92 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.plrToPul.lat.y,$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,$whenCondition11,$whenCondition5,$whenCondition6,samPLR.sampleTrigger,$whenCondition17,samPLR.y,plrToPul.truDel.t_next,timEna.entryTime,$PRE.timEna.entryTime,plrToPul.truDel.y,plrToPul.truDel.u,plrToPul.pre1.u,$PRE.plrToPul.pre1.u,plrToPul.lat.y,plrToPul.lat.clr,$PRE.plrToPul.lat.clr,plrToPul.lat.u,$PRE.plrToPul.lat.u,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,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition13,$whenCondition12,$whenCondition16,$whenCondition15,$whenCondition14) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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.0002019/0.8864, allocations: 173.6 kB / 1.177 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.8864, allocations: 19.81 kB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/0.8865, allocations: 29.95 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8865, allocations: 0 / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8865, allocations: 0 / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.8866, allocations: 96.83 kB / 1.177 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.8867, allocations: 19.92 kB / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.8868, allocations: 27.97 kB / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.887, allocations: 47.69 kB / 1.177 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008724/0.8878, allocations: 0.4938 MB / 1.178 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008136/0.8887, allocations: 0.5878 MB / 1.178 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003375/0.889, allocations: 207.9 kB / 1.179 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.392e-05/0.8891, allocations: 114.1 kB / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of Backend: time 9.02e-07/0.8891, allocations: 4 kB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009498/0.8901, allocations: 396.8 kB / 1.179 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009145/0.891, allocations: 0.7858 MB / 1.18 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of Templates: time 0.008826/0.8998, allocations: 3.918 MB / 1.184 GB, free: 2.824 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Heating_AirSource_Validation_BaseClasses_Validation_PLRToPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches