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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001702/0.001702, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002194/0.002194, allocations: 195.4 kB / 16.25 MB, free: 6.625 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.564/1.564, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.5 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3721, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.00244/0.3746, allocations: 1.187 MB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3762, allocations: 1.31 MB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.3763, allocations: 4 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.3764, allocations: 15.8 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.3765, allocations: 19.84 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.3771, allocations: 209.5 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.3774, allocations: 359.2 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.3776, allocations: 98.94 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.3777, allocations: 131.7 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.3779, allocations: 131.5 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.3779, allocations: 40 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.378, allocations: 51.98 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.3781, allocations: 71.81 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.3782, allocations: 143.5 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000449/0.3787, allocations: 403.1 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.3787, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3787, allocations: 4 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3787, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 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.001163/0.3799, allocations: 0.5716 MB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3799, allocations: 8.031 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.885e-05/0.38, allocations: 28.75 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.3805, allocations: 288 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.3805, allocations: 20.38 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.3806, allocations: 28.36 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.381, allocations: 225.7 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.381, allocations: 3.938 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.3811, allocations: 11.98 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3811, allocations: 4 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.3814, allocations: 155.9 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.3826, allocations: 0.695 MB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.3831, allocations: 230.5 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.3833, allocations: 120.7 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.3833, allocations: 4 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005115/0.3839, allocations: 262.8 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.3839, allocations: 0 / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0009271/0.3848, allocations: 499 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.3849, allocations: 59.41 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.385, allocations: 164.8 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.3851, allocations: 41.69 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3852, allocations: 128.8 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.3853, allocations: 83.03 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3854, allocations: 86.12 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3855, allocations: 334.8 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.3858, allocations: 120.8 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3861, allocations: 210.8 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.3866, allocations: 306 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3866, allocations: 3.938 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007255/0.3873, allocations: 419.9 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.3874, allocations: 41.69 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.3874, allocations: 4 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3874, allocations: 4 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3876, allocations: 39.92 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3876, allocations: 12.3 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.3879, allocations: 59.73 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.388, allocations: 16 kB / 1.077 GB, free: 1.023 MB / 0.8262 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.0001717/0.3881, allocations: 169.6 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.3882, allocations: 27.7 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.3883, allocations: 25.97 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3883, allocations: 4 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3883, allocations: 0 / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3883, allocations: 11.95 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.3894, allocations: 0.8111 MB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3894, allocations: 7.938 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.3895, allocations: 19.92 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3895, allocations: 7.875 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3895, allocations: 11.98 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3896, allocations: 0 / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3896, allocations: 0 / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.3902, allocations: 486.8 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.3903, allocations: 92.86 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.3903, allocations: 15.98 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.3905, allocations: 23.97 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.3906, allocations: 31.95 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.3906, allocations: 19.98 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.559e-05/0.3907, allocations: 115.2 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3907, allocations: 4 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003275/0.391, allocations: 71.84 kB / 1.079 GB, free: 14.99 MB / 0.8419 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.0002014/0.3912, allocations: 133.4 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007403/0.392, allocations: 400.6 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.392, allocations: 0 / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.3923, allocations: 183.7 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3927, allocations: 42.61 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.3934, allocations: 492.9 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3937, allocations: 0.7367 MB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000119/0.3938, allocations: 30.28 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.3939, allocations: 23.44 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3939, allocations: 4 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.006541/0.4005, allocations: 3.169 MB / 1.084 GB, free: 9.781 MB / 0.8419 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