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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001496/0.001496, allocations: 195.6 kB / 16.14 MB, free: 6.695 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.06 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3755, 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.002798/0.3783, allocations: 1.179 MB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3801, allocations: 1.322 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.3803, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.3804, allocations: 19.8 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.3805, allocations: 19.84 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006429/0.3812, allocations: 199.3 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000353/0.3815, allocations: 323.1 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.3818, allocations: 106.9 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.382, allocations: 107.7 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3822, allocations: 123.5 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.3822, allocations: 16 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.617e-05/0.3823, allocations: 31.98 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.3824, allocations: 59.8 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.3826, allocations: 123.4 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.383, allocations: 383.1 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.383, allocations: 4 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3831, allocations: 0 / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3831, allocations: 0 / 1.071 GB, free: 6.84 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.001216/0.3843, allocations: 0.5755 MB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3843, allocations: 8.031 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.174e-05/0.3844, allocations: 28.73 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.385, allocations: 282.9 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.385, allocations: 20.36 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.3851, allocations: 36.36 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.3856, allocations: 221.8 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3856, allocations: 7.875 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.3856, allocations: 8 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.3856, allocations: 4 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.386, allocations: 147.9 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3873, allocations: 0.7067 MB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.3877, allocations: 238.5 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.388, allocations: 112.8 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.388, allocations: 4 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.3885, allocations: 258.9 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.3885, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.001041/0.3896, allocations: 495 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3896, allocations: 59.41 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3898, allocations: 166.5 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.3899, allocations: 45.7 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.39, allocations: 128.8 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.3901, allocations: 75.06 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.3902, allocations: 90.11 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3903, allocations: 334.8 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.3906, allocations: 120.8 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.391, allocations: 206.8 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.3915, allocations: 310 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3915, allocations: 3.938 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007949/0.3923, allocations: 424.2 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3924, allocations: 43.42 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3924, allocations: 0 / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3924, allocations: 8 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3926, allocations: 35.91 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3926, allocations: 4 kB / 1.076 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.3929, allocations: 59.73 kB / 1.077 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.393, allocations: 23.98 kB / 1.077 GB, free: 1.309 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.0001733/0.3932, allocations: 177.7 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.3932, allocations: 19.72 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.3933, allocations: 21.97 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.3933, allocations: 11.92 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3933, allocations: 0 / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3933, allocations: 3.938 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.3945, allocations: 0.8189 MB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3945, allocations: 3.984 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.3946, allocations: 19.92 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.3946, allocations: 7.938 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.3947, allocations: 4 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3947, allocations: 11.98 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3947, allocations: 0 / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.3954, allocations: 478.9 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.3955, allocations: 100.8 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.3955, allocations: 12 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.3957, allocations: 27.97 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3958, allocations: 31.94 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.3959, allocations: 19.98 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.396, allocations: 113.5 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.396, allocations: 0 / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003779/0.3964, allocations: 79.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.0002323/0.3966, allocations: 133.4 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007041/0.3973, allocations: 384.3 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3973, allocations: 0 / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.3976, allocations: 179.7 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.0003642/0.398, allocations: 44.53 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.3988, allocations: 490.3 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3991, allocations: 0.7409 MB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.3992, allocations: 34.28 kB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.3993, allocations: 23.44 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3993, allocations: 0 / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.006571/0.4059, allocations: 3.003 MB / 1.083 GB, free: 10.24 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)