Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse") translateModel(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009821/0.000982, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006403/0.006403, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003907, allocations: 12.84 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3615, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.001564/0.3631, allocations: 0.8363 MB / 1.075 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3652, allocations: 1.314 MB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.3654, allocations: 4 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.3656, allocations: 15.86 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.3657, allocations: 23.78 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.3664, allocations: 199.3 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.3668, allocations: 315.2 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.3671, allocations: 102.9 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.3673, allocations: 95.67 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.3675, allocations: 111.5 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.3675, allocations: 12 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3676, allocations: 27.98 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.3677, allocations: 43.83 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3679, allocations: 133.2 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.3683, allocations: 379 kB / 1.078 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3683, allocations: 4 kB / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3683, allocations: 4 kB / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.3683, allocations: 0 / 1.078 GB, free: 3.906 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.001019/0.3694, allocations: 0.5288 MB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3694, allocations: 11.97 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.714e-05/0.3695, allocations: 36.69 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.37, allocations: 290.9 kB / 1.079 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.3701, allocations: 20.38 kB / 1.079 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.3701, allocations: 32.36 kB / 1.079 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.3706, allocations: 225.9 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3706, allocations: 3.938 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.3707, allocations: 11.98 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3707, allocations: 4 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3711, allocations: 151.9 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.3724, allocations: 0.73 MB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.3729, allocations: 239 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.3731, allocations: 120.8 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3732, allocations: 4 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.3736, allocations: 258.9 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 3.547e-06/0.3736, allocations: 0 / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0009965/0.3746, allocations: 0.499 MB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3747, allocations: 67.38 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3749, allocations: 166.5 kB / 1.081 GB, free: 348 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.3749, allocations: 41.69 kB / 1.081 GB, free: 300 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.375, allocations: 128.8 kB / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.3751, allocations: 71.06 kB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.3752, allocations: 49.69 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3753, allocations: 338.8 kB / 1.082 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.3756, allocations: 120.8 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.3759, allocations: 210.8 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.3765, allocations: 322 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3765, allocations: 0 / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007884/0.3773, allocations: 431.9 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.3773, allocations: 41.69 kB / 1.083 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3774, allocations: 4 kB / 1.083 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3774, allocations: 4.312 kB / 1.083 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.3775, allocations: 39.92 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3776, allocations: 7.938 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.3779, allocations: 88.75 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.378, allocations: 16 kB / 1.083 GB, free: 14.34 MB / 0.8419 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.0001773/0.3782, allocations: 165.8 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.3782, allocations: 27.78 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.3783, allocations: 21.97 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3783, allocations: 7.938 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3783, allocations: 4 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3783, allocations: 3.938 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3795, allocations: 0.8304 MB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3795, allocations: 4 kB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.711e-05/0.3796, allocations: 15.98 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3796, allocations: 3.938 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.3796, allocations: 11.98 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3797, allocations: 4 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3797, allocations: 3.938 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000705/0.3804, allocations: 486.9 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.3804, allocations: 96.86 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.3805, allocations: 15.98 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.3807, allocations: 31.97 kB / 1.084 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.3808, allocations: 27.95 kB / 1.084 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.3808, allocations: 19.98 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.592e-05/0.3809, allocations: 117.3 kB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3809, allocations: 0 / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003677/0.3813, allocations: 75.84 kB / 1.085 GB, free: 12.29 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.0002114/0.3815, allocations: 135 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007703/0.3823, allocations: 392.2 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3823, allocations: 0.625 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.3826, allocations: 187.7 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.383, allocations: 35.97 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.3838, allocations: 491.7 kB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.3841, allocations: 0.7409 MB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.3842, allocations: 34.28 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.3843, allocations: 27.44 kB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3843, allocations: 0 / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of Templates: time 0.006633/0.3909, allocations: 2.981 MB / 1.09 GB, free: 7.27 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe 2>&1)