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.009702/0.009702, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001971/0.001971, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3889, allocations: 157.4 MB / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.003251/0.3923, allocations: 1.136 MB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.3946, allocations: 1.326 MB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.3949, allocations: 4 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.3951, allocations: 23.67 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.3953, allocations: 23.73 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.3961, allocations: 227.3 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.3967, allocations: 359.4 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.3969, allocations: 102.9 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.3972, allocations: 123.7 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.3976, allocations: 139.5 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.3977, allocations: 43.94 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.3979, allocations: 51.98 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.398, allocations: 71.81 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.3982, allocations: 139.5 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.3988, allocations: 410.7 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3988, allocations: 0 / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3988, allocations: 0 / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.3988, allocations: 0 / 1.212 GB, free: 5.402 MB / 0.9669 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.001351/0.4002, allocations: 0.5794 MB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4002, allocations: 8.625 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.62e-05/0.4003, allocations: 28.73 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.4008, allocations: 284.1 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.4009, allocations: 28.36 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.4009, allocations: 24.38 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.4014, allocations: 229.7 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4014, allocations: 3.938 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.4015, allocations: 11.98 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4015, allocations: 4 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.4019, allocations: 151.9 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.4031, allocations: 0.6986 MB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.4036, allocations: 238.5 kB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.4039, allocations: 108.8 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.4039, allocations: 7.984 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/0.4044, allocations: 263.3 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.4045, allocations: 4 kB / 1.214 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.001086/0.4056, allocations: 489 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.4056, allocations: 63.41 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.4058, allocations: 169 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.4059, allocations: 41.7 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.406, allocations: 128.8 kB / 1.215 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/0.4061, allocations: 83.05 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.4062, allocations: 86.11 kB / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4064, allocations: 334.8 kB / 1.216 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.4067, allocations: 116.8 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.407, allocations: 210.8 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.4076, allocations: 318 kB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4076, allocations: 0 / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007694/0.4083, allocations: 415.9 kB / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.858e-05/0.4084, allocations: 42.83 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4085, allocations: 4 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.4085, allocations: 4 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.4087, allocations: 40.12 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.4087, allocations: 11.98 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.409, allocations: 63.64 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.409, allocations: 20 kB / 1.217 GB, free: 15.86 MB / 0.9825 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.0001885/0.4092, allocations: 165.6 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.4093, allocations: 27.8 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.4093, allocations: 21.97 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4093, allocations: 4 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4094, allocations: 4 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4094, allocations: 3.938 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.4106, allocations: 0.812 MB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4106, allocations: 7.938 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.4107, allocations: 23.92 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4108, allocations: 3.938 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.4108, allocations: 11.98 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4108, allocations: 3.938 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4108, allocations: 0 / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.4115, allocations: 480.2 kB / 1.218 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.4116, allocations: 96.86 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.4117, allocations: 15.98 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.4118, allocations: 27.91 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.4119, allocations: 28 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.412, allocations: 27.97 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.181e-05/0.4121, allocations: 113.9 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4121, allocations: 4 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003562/0.4124, allocations: 71.84 kB / 1.219 GB, free: 13.82 MB / 0.9825 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.0002474/0.4127, allocations: 141.4 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008061/0.4135, allocations: 371.5 kB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4135, allocations: 0.625 kB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.4138, allocations: 187.8 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.4142, allocations: 31.97 kB / 1.219 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.4151, allocations: 421.5 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.4155, allocations: 0.7406 MB / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.535e-05/0.4156, allocations: 30.28 kB / 1.221 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.4157, allocations: 27.42 kB / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4157, allocations: 0 / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.008098/0.4238, allocations: 3.468 MB / 1.224 GB, free: 8.402 MB / 0.9825 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/jenkins/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) Reference file matches