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.001597/0.001597, allocations: 109 kB / 16.41 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.001909/0.001909, allocations: 187 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.393/1.393, allocations: 222.9 MB / 241 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.655/2.655, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 63.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002767/1.007, allocations: 1.124 MB / 1.21 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002118/1.009, allocations: 1.322 MB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/1.009, allocations: 4 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/1.009, allocations: 19.73 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/1.01, allocations: 31.66 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000789/1.01, allocations: 222.8 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005528/1.011, allocations: 363.3 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/1.011, allocations: 102.9 kB / 1.212 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/1.012, allocations: 135.7 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/1.012, allocations: 131.5 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/1.012, allocations: 40 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/1.012, allocations: 51.98 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/1.012, allocations: 75.75 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/1.012, allocations: 135.5 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/1.013, allocations: 420.5 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/1.013, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.194e-06/1.013, allocations: 3.938 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.013, allocations: 0 / 1.212 GB, free: 9.609 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.00118/1.014, allocations: 0.5716 MB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.014, allocations: 8.031 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/1.014, allocations: 36.73 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/1.015, allocations: 280 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/1.015, allocations: 28.36 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/1.015, allocations: 36.36 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/1.015, allocations: 217.6 kB / 1.214 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.015, allocations: 3.938 kB / 1.214 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/1.015, allocations: 4 kB / 1.214 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/1.015, allocations: 4 kB / 1.214 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/1.016, allocations: 155.8 kB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/1.017, allocations: 0.6949 MB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/1.018, allocations: 242.4 kB / 1.215 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/1.018, allocations: 112.8 kB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/1.018, allocations: 4 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/1.018, allocations: 254.9 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/1.018, allocations: 0 / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.00101/1.019, allocations: 494 kB / 1.216 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/1.019, allocations: 71.38 kB / 1.216 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/1.02, allocations: 160.6 kB / 1.216 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/1.02, allocations: 45.7 kB / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/1.02, allocations: 124.8 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-05/1.02, allocations: 86.98 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.02, allocations: 86.11 kB / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.02, allocations: 338.8 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/1.02, allocations: 116.8 kB / 1.217 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/1.021, allocations: 210.7 kB / 1.217 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/1.021, allocations: 318 kB / 1.217 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.021, allocations: 0 / 1.217 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007973/1.022, allocations: 419.9 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/1.022, allocations: 37.7 kB / 1.217 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.022, allocations: 0 / 1.217 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.022, allocations: 8 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/1.022, allocations: 44.16 kB / 1.218 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.022, allocations: 4 kB / 1.218 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/1.023, allocations: 59.73 kB / 1.218 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/1.023, allocations: 27.92 kB / 1.218 GB, free: 4.062 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.0001862/1.023, allocations: 165.8 kB / 1.218 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/1.023, allocations: 23.72 kB / 1.218 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.635e-05/1.023, allocations: 25.91 kB / 1.218 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.023, allocations: 4 kB / 1.218 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.023, allocations: 3.984 kB / 1.218 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.023, allocations: 3.938 kB / 1.218 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/1.024, allocations: 0.8119 MB / 1.219 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.024, allocations: 4 kB / 1.219 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/1.024, allocations: 23.91 kB / 1.219 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/1.024, allocations: 3.938 kB / 1.219 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/1.025, allocations: 8 kB / 1.219 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.025, allocations: 0 / 1.219 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.025, allocations: 11.98 kB / 1.219 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/1.025, allocations: 472 kB / 1.219 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/1.025, allocations: 104.8 kB / 1.219 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/1.025, allocations: 16 kB / 1.219 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/1.026, allocations: 19.97 kB / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/1.026, allocations: 31.95 kB / 1.219 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/1.026, allocations: 19.98 kB / 1.219 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.858e-05/1.026, allocations: 117.7 kB / 1.219 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.026, allocations: 0 / 1.219 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004006/1.026, allocations: 79.83 kB / 1.219 GB, free: 2.035 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.0002144/1.026, allocations: 137.4 kB / 1.22 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007177/1.027, allocations: 379.4 kB / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.027, allocations: 4.625 kB / 1.22 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/1.027, allocations: 192.2 kB / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/1.028, allocations: 35.97 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008537/1.029, allocations: 444.4 kB / 1.221 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/1.029, allocations: 0.7406 MB / 1.221 GB, free: 48 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/1.029, allocations: 27.44 kB / 1.221 GB, free: 20 kB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/1.029, allocations: 0 / 1.221 GB, free: 20 kB / 0.9356 GB Notification: Performance of Templates: time 0.006368/1.035, allocations: 3.312 MB / 1.225 GB, free: 12.72 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