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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Heating_AirSource_Validation_BaseClasses_Validation_PLRToPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Heating_AirSource_Validation_BaseClasses_Validation_PLRToPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002709/0.002708, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.696/1.696, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.188/4.188, allocations: 461.9 MB / 0.7344 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 70.11 kB / 0.8988 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3489, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002711/0.3517, allocations: 1.185 MB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3536, allocations: 1.322 MB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.3538, allocations: 4 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.3539, allocations: 15.8 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.951e-05/0.354, allocations: 19.84 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.3547, allocations: 202.7 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.3551, allocations: 355.4 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.3553, allocations: 102.9 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.3555, allocations: 131.7 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.3557, allocations: 127.5 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.3557, allocations: 36 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3559, allocations: 59.97 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.3559, allocations: 63.77 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.3561, allocations: 147.5 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.3565, allocations: 407.1 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3565, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3565, allocations: 3.938 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3565, allocations: 0 / 1.056 GB, free: 4.465 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.001054/0.3576, allocations: 0.5717 MB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.3577, allocations: 8.031 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.831e-05/0.3577, allocations: 54.72 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.3578, allocations: 28.66 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.3583, allocations: 284.1 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.3583, allocations: 20.38 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.3584, allocations: 40.36 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.3589, allocations: 217.6 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3589, allocations: 3.938 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.3589, allocations: 19.97 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.359, allocations: 4 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.3593, allocations: 147.7 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3605, allocations: 0.7028 MB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.361, allocations: 230.5 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.3613, allocations: 116.8 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.3613, allocations: 7.938 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005665/0.3619, allocations: 259.3 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 2.875e-06/0.3619, allocations: 0 / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.0009932/0.3629, allocations: 493 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.363, allocations: 67.77 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3631, allocations: 164.9 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.3632, allocations: 49.69 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.3633, allocations: 120.8 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.3633, allocations: 79.05 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.3635, allocations: 82.12 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3636, allocations: 338.8 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.3639, allocations: 116.8 kB / 1.061 GB, free: 64 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.3642, allocations: 210.8 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.3647, allocations: 313.5 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3647, allocations: 0 / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000774/0.3655, allocations: 419.9 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.3656, allocations: 43.25 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3656, allocations: 0 / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3656, allocations: 8 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.3658, allocations: 35.86 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3658, allocations: 4 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.3662, allocations: 75.91 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.3662, allocations: 20 kB / 1.062 GB, free: 14.87 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.0001895/0.3664, allocations: 161.7 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.3665, allocations: 27.7 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.3665, allocations: 25.97 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3666, allocations: 4 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3666, allocations: 0 / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3666, allocations: 3.938 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3677, allocations: 0.8274 MB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3677, allocations: 0 / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.3679, allocations: 23.86 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3679, allocations: 0 / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3679, allocations: 15.92 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3679, allocations: 4 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3679, allocations: 0 / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006826/0.3686, allocations: 478.9 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.3687, allocations: 108.8 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.3687, allocations: 15.98 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.3689, allocations: 23.97 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.369, allocations: 31.89 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.3691, allocations: 19.98 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.603e-05/0.3691, allocations: 115.2 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3692, allocations: 0 / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003816/0.3695, allocations: 79.91 kB / 1.064 GB, free: 12.82 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.001028/0.3706, allocations: 1.035 MB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007889/0.3714, allocations: 400 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3714, allocations: 4 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.3717, allocations: 175.9 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3721, allocations: 42.84 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.3758, allocations: 2.736 MB / 1.068 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.3761, allocations: 0.7367 MB / 1.069 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.3763, allocations: 30.28 kB / 1.069 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3764, allocations: 71.41 kB / 1.069 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.3764, allocations: 0 / 1.069 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/0.5366, allocations: 4.919 MB / 1.073 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/0.537, allocations: 254.7 kB / 1.074 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/3.453, allocations: 0 / 1.074 GB, free: 2.438 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Heating_AirSource_Validation_BaseClasses_Validation_PLRToPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Heating_AirSource_Validation_BaseClasses_Validation_PLRToPulse.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe 2>&1)