Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001171/0.001171, allocations: 98.27 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.00717/0.00717, allocations: 170.6 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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004063, allocations: 15.39 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.387, 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.001542/0.3886, allocations: 0.8323 MB / 1.075 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3903, allocations: 1.318 MB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.3905, allocations: 4 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.3906, allocations: 11.86 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.3907, allocations: 23.78 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.3912, allocations: 198.2 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.3915, allocations: 327.2 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.3918, allocations: 98.92 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.3919, allocations: 95.62 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.3921, allocations: 103.5 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.3921, allocations: 20 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-05/0.3922, allocations: 19.98 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.3922, allocations: 51.75 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3924, allocations: 137.2 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.3928, allocations: 383 kB / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3928, allocations: 0 / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.965e-06/0.3928, allocations: 0 / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3928, allocations: 0 / 1.078 GB, free: 3.902 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.001086/0.3939, allocations: 0.5287 MB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.394, allocations: 16.02 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.3941, allocations: 24.75 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.3946, allocations: 290.9 kB / 1.079 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.3946, allocations: 24.36 kB / 1.079 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.3947, allocations: 28.36 kB / 1.079 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.3951, allocations: 225.9 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3952, allocations: 7.922 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.3952, allocations: 8 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3952, allocations: 4 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.3956, allocations: 155.9 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3968, allocations: 0.7222 MB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.3973, allocations: 253.5 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.3976, allocations: 116.8 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3976, allocations: 0 / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005156/0.3981, allocations: 258.9 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.3981, allocations: 3.938 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0009898/0.3991, allocations: 0.4951 MB / 1.081 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3992, allocations: 67.39 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.3993, allocations: 158.5 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.3994, allocations: 41.7 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.3995, allocations: 132.8 kB / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.3996, allocations: 75.06 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.3996, allocations: 53.69 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3998, allocations: 338.8 kB / 1.082 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.4001, allocations: 116.8 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.4004, allocations: 210.8 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.4009, allocations: 326 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4009, allocations: 0 / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007439/0.4016, allocations: 428.2 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.4017, allocations: 37.7 kB / 1.083 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4017, allocations: 4 kB / 1.083 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4017, allocations: 7.938 kB / 1.083 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4019, allocations: 43.91 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4019, allocations: 7.938 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.4023, allocations: 88.78 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.4023, allocations: 20 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.000167/0.4025, allocations: 165.7 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.4025, allocations: 19.81 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.4026, allocations: 29.95 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4026, allocations: 4 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4026, allocations: 0 / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4026, allocations: 3.938 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.4038, allocations: 0.8343 MB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4038, allocations: 0 / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.356e-05/0.4039, allocations: 19.98 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4039, allocations: 7.938 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.4039, allocations: 15.98 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.404, allocations: 0 / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.404, allocations: 7.875 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.4047, allocations: 483 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.4047, allocations: 100.9 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.4048, allocations: 11.98 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.4049, allocations: 27.97 kB / 1.084 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.405, allocations: 31.95 kB / 1.084 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.4051, allocations: 19.98 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.4052, allocations: 109.3 kB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4052, allocations: 4 kB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003451/0.4055, allocations: 83.83 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.0002159/0.4058, allocations: 129.4 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006891/0.4064, allocations: 396.3 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4065, allocations: 0 / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.4068, allocations: 179.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.0003543/0.4071, allocations: 32.53 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.0008139/0.408, allocations: 0.4929 MB / 1.086 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4083, allocations: 0.7409 MB / 1.087 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.994e-05/0.4084, allocations: 26.28 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.4084, allocations: 27.44 kB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4085, allocations: 3.938 kB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.006726/0.4152, allocations: 2.977 MB / 1.09 GB, free: 7.27 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe 2>&1)