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.001303/0.001303, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001379/0.001379, allocations: 193.6 kB / 16.13 MB, free: 6.566 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 60.95 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3895, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002576/0.3922, allocations: 1.175 MB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3939, allocations: 1.326 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.394, allocations: 8 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.3942, allocations: 15.8 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.3943, allocations: 19.84 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.3948, allocations: 202.8 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.3951, allocations: 315.2 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.3953, allocations: 106.9 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3955, allocations: 107.6 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3956, allocations: 119.5 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.3957, allocations: 16 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.3958, allocations: 39.92 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.3958, allocations: 59.8 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.396, allocations: 127.4 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.3964, allocations: 379.1 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3964, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3964, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3964, allocations: 0 / 1.071 GB, free: 6.844 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.001078/0.3975, allocations: 0.5833 MB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3975, allocations: 8.031 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.555e-05/0.3976, allocations: 32.73 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.3981, allocations: 282.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3981, allocations: 20.36 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.3982, allocations: 28.38 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.3986, allocations: 229.8 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3987, allocations: 7.875 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.3987, allocations: 8 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3987, allocations: 4 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.3991, allocations: 143.9 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.4003, allocations: 0.7028 MB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.4008, allocations: 238.5 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.401, allocations: 109.4 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.401, allocations: 3.984 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/0.4015, allocations: 262.9 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.824e-06/0.4015, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0009552/0.4025, allocations: 499 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4025, allocations: 55.41 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.4027, allocations: 170.5 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.4027, allocations: 41.7 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4029, allocations: 132.8 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.4029, allocations: 71.06 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.4031, allocations: 90.11 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4032, allocations: 338.8 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.4035, allocations: 112.8 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.4038, allocations: 206.8 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.4043, allocations: 310 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4043, allocations: 7.938 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007556/0.4051, allocations: 424.2 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.4051, allocations: 37.7 kB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4051, allocations: 4 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4051, allocations: 7.938 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.4053, allocations: 39.91 kB / 1.076 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4053, allocations: 7.984 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.4056, allocations: 55.73 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.4057, allocations: 23.98 kB / 1.077 GB, free: 1.305 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.0001638/0.4059, allocations: 173.7 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.4059, allocations: 23.72 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.4059, allocations: 17.97 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.406, allocations: 7.938 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.406, allocations: 3.984 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.406, allocations: 3.938 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.4071, allocations: 0.8189 MB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4071, allocations: 0 / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.703e-05/0.4072, allocations: 27.91 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4073, allocations: 7.938 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.4073, allocations: 12 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4073, allocations: 4 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4073, allocations: 3.984 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/0.408, allocations: 478.8 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.4081, allocations: 96.84 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.4081, allocations: 11.94 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.4083, allocations: 27.97 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.4084, allocations: 31.94 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.4084, allocations: 19.98 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.4085, allocations: 113.5 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4085, allocations: 0 / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003436/0.4089, allocations: 83.83 kB / 1.078 GB, free: 15.27 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.000199/0.4091, allocations: 129.4 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006869/0.4098, allocations: 380 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4098, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.4101, allocations: 180.3 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.4104, allocations: 39.97 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.4112, allocations: 494.3 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.4115, allocations: 0.7409 MB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.4116, allocations: 30.28 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.4117, allocations: 23.44 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4117, allocations: 0 / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.006517/0.4182, allocations: 3.006 MB / 1.083 GB, free: 10.25 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)