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.0009044/0.0009044, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01187/0.01187, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.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.787/2.787, allocations: 462.7 MB / 0.7364 GB, free: 232 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003826, allocations: 16.62 kB / 0.9028 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.381, allocations: 159.6 MB / 1.059 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.00157/0.3826, allocations: 0.838 MB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3847, allocations: 1.33 MB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.3849, allocations: 4 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.3851, allocations: 15.8 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.3852, allocations: 19.81 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.3858, allocations: 203 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.3861, allocations: 315.3 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.3863, allocations: 98.92 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3864, allocations: 91.73 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.3866, allocations: 107.5 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.3866, allocations: 12 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.077e-05/0.3867, allocations: 27.98 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.3868, allocations: 47.81 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3869, allocations: 133.2 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.3873, allocations: 379 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3873, allocations: 3.938 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3873, allocations: 0 / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3873, allocations: 0 / 1.062 GB, free: 1.781 MB / 0.8106 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.0009182/0.3882, allocations: 0.5263 MB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3883, allocations: 8.031 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.3883, allocations: 32.66 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.3888, allocations: 292.1 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.3889, allocations: 20.36 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.3889, allocations: 32.38 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.3894, allocations: 225.8 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3894, allocations: 3.938 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.3894, allocations: 11.98 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.3894, allocations: 4 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.3898, allocations: 159.7 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.391, allocations: 0.7184 MB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.3915, allocations: 253.3 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.3917, allocations: 112.8 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3917, allocations: 4 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.3922, allocations: 268 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 3.156e-06/0.3922, allocations: 0 / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0009577/0.3932, allocations: 0.5009 MB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3932, allocations: 59.41 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3934, allocations: 169.2 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.3934, allocations: 41.7 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.3935, allocations: 128.8 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.3936, allocations: 83.05 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.3936, allocations: 53.62 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3938, allocations: 330.8 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.394, allocations: 124.8 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.3944, allocations: 210.8 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.3949, allocations: 328.7 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3949, allocations: 0 / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007369/0.3956, allocations: 424.1 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.3957, allocations: 37.69 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3957, allocations: 4 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3957, allocations: 4 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.3959, allocations: 47.84 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3959, allocations: 4 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.3962, allocations: 81.89 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.3963, allocations: 15.98 kB / 1.067 GB, free: 12.22 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.000162/0.3964, allocations: 169.7 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.3965, allocations: 27.7 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.3965, allocations: 17.97 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3965, allocations: 4 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3965, allocations: 4 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.3966, allocations: 7.922 kB / 1.068 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.3977, allocations: 0.8275 MB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3977, allocations: 0 / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.3978, allocations: 19.98 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3978, allocations: 11.88 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.3978, allocations: 11.98 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3978, allocations: 4 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3978, allocations: 0 / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.3985, allocations: 499 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.3986, allocations: 92.86 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.3986, allocations: 19.98 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.3988, allocations: 23.97 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.3989, allocations: 31.95 kB / 1.069 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.3989, allocations: 19.98 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.116e-05/0.399, allocations: 121.9 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.399, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003342/0.3993, allocations: 83.83 kB / 1.069 GB, free: 10.15 MB / 0.8262 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.0001792/0.3995, allocations: 125.4 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006661/0.4002, allocations: 396.1 kB / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4002, allocations: 0 / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.4005, allocations: 175.9 kB / 1.07 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.4009, allocations: 54.52 kB / 1.07 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.4016, allocations: 484.7 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.4019, allocations: 0.7409 MB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.402, allocations: 30.28 kB / 1.071 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.4021, allocations: 31.42 kB / 1.071 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4021, allocations: 0 / 1.071 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.006567/0.4086, allocations: 2.974 MB / 1.074 GB, free: 5.148 MB / 0.8262 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