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.00161/0.00161, allocations: 111 kB / 16.42 MB, free: 6.496 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.001776/0.001776, allocations: 186.5 kB / 17.35 MB, free: 5.742 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.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.709/2.709, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 59.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8962, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002827/0.899, allocations: 1.135 MB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002416/0.9015, allocations: 1.342 MB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.9018, allocations: 4 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.902, allocations: 19.73 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.9021, allocations: 31.67 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008926/0.903, allocations: 240.1 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.9036, allocations: 375.3 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.9038, allocations: 106.9 kB / 1.171 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.9041, allocations: 139.7 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.9043, allocations: 143.5 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.401e-05/0.9044, allocations: 44 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.9045, allocations: 59.92 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.9046, allocations: 75.8 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.9048, allocations: 139.5 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.9055, allocations: 447 kB / 1.172 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9055, allocations: 4 kB / 1.172 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.103e-06/0.9055, allocations: 0 / 1.172 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.9055, allocations: 0 / 1.172 GB, free: 15.62 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.001248/0.9068, allocations: 0.5792 MB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.9069, allocations: 12.88 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.907, allocations: 36.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.9075, allocations: 299.9 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.9076, allocations: 28.14 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.9076, allocations: 28.31 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.9081, allocations: 237.8 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.9081, allocations: 7.875 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.9082, allocations: 11.98 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.9082, allocations: 8 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.9086, allocations: 151.7 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.9098, allocations: 0.7224 MB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.9104, allocations: 250.5 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.9106, allocations: 125.9 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.9107, allocations: 0 / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005088/0.9112, allocations: 332.2 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=38): time 2.254e-06/0.9112, allocations: 0 / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38): time 0.00101/0.9122, allocations: 0.5203 MB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.9122, allocations: 67.39 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.9124, allocations: 169 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.9125, allocations: 45.7 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.9125, allocations: 129 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.9126, allocations: 91.31 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.9128, allocations: 98.11 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9129, allocations: 334.8 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.9132, allocations: 136.9 kB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.9136, allocations: 232.4 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.9141, allocations: 338.8 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9141, allocations: 3.938 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008052/0.9149, allocations: 452.1 kB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.915, allocations: 44.5 kB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.915, allocations: 4 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.915, allocations: 4 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.9152, allocations: 43.86 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.9152, allocations: 7.984 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.9155, allocations: 56.19 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.9156, allocations: 23.94 kB / 1.177 GB, free: 9.746 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.0001885/0.9158, allocations: 177.7 kB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.9158, allocations: 27.84 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.9159, allocations: 29.97 kB / 1.177 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.9159, allocations: 0 / 1.177 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.9159, allocations: 3.984 kB / 1.177 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.916, allocations: 96.97 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.916, allocations: 23.86 kB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.9162, allocations: 23.97 kB / 1.177 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9163, allocations: 39.7 kB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008207/0.9171, allocations: 0.5017 MB / 1.178 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007396/0.9179, allocations: 0.5879 MB / 1.178 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002931/0.9182, allocations: 203.9 kB / 1.179 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.678e-05/0.9183, allocations: 114.7 kB / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of Backend: time 4.81e-07/0.9183, allocations: 4 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008572/0.9191, allocations: 397.8 kB / 1.179 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007752/0.9199, allocations: 0.7745 MB / 1.18 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of Templates: time 0.007561/0.9275, allocations: 3.927 MB / 1.184 GB, free: 2.773 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