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.001385/0.001385, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 193.6 kB / 16.53 MB, free: 6.664 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: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 61.59 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.426, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002826/0.4289, allocations: 1.133 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.4308, allocations: 1.33 MB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.4311, allocations: 7.938 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.4313, allocations: 19.73 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.4314, allocations: 23.73 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.4321, allocations: 219.6 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.4325, allocations: 355.2 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.4327, allocations: 115.4 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.4329, allocations: 131.7 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.4331, allocations: 127.5 kB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.4331, allocations: 36 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.4332, allocations: 59.97 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.4333, allocations: 63.81 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.4335, allocations: 143.5 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.4339, allocations: 407.1 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4339, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4339, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.434, allocations: 0 / 1.072 GB, free: 6.242 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.001036/0.435, allocations: 0.5793 MB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.435, allocations: 8.031 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.4351, allocations: 28.73 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.4357, allocations: 282.9 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.4357, allocations: 28.36 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.4358, allocations: 24.38 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.4362, allocations: 221.8 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4362, allocations: 3.938 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.4363, allocations: 11.94 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.4363, allocations: 4 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.4366, allocations: 147.9 kB / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.4379, allocations: 0.7067 MB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.4383, allocations: 238.4 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.4386, allocations: 112.8 kB / 1.075 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.4386, allocations: 7.984 kB / 1.075 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.4391, allocations: 258.9 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.4391, allocations: 0 / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0009948/0.4401, allocations: 498.9 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.4402, allocations: 59.41 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.4403, allocations: 162.5 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.4404, allocations: 41.7 kB / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4405, allocations: 132.8 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.4406, allocations: 71.06 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.4407, allocations: 94.11 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4409, allocations: 338.8 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.4411, allocations: 112.8 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.4415, allocations: 206.8 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.442, allocations: 317.2 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.442, allocations: 4 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007956/0.4428, allocations: 415.9 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.4428, allocations: 39.09 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4428, allocations: 4 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4429, allocations: 4 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.443, allocations: 39.91 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.4431, allocations: 11.94 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.4434, allocations: 64.02 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.4434, allocations: 15.98 kB / 1.077 GB, free: 0.707 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.0001857/0.4436, allocations: 169.7 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.4437, allocations: 23.72 kB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.4437, allocations: 17.97 kB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4437, allocations: 4 kB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4437, allocations: 4 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.4438, allocations: 11.92 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.4449, allocations: 0.8188 MB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.445, allocations: 8 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/0.4451, allocations: 15.98 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.4451, allocations: 19.8 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.4451, allocations: 8 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4451, allocations: 3.938 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4451, allocations: 3.984 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.4458, allocations: 478.8 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.4459, allocations: 96.84 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.4459, allocations: 8 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4461, allocations: 23.97 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4462, allocations: 31.95 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.4462, allocations: 19.98 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.458e-05/0.4463, allocations: 117.5 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4463, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003403/0.4467, allocations: 79.83 kB / 1.079 GB, free: 14.67 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.0002103/0.4469, allocations: 130 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007628/0.4477, allocations: 405 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4477, allocations: 0.625 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.448, allocations: 175.9 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4483, allocations: 40.84 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007956/0.4491, allocations: 420.6 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4495, allocations: 0.7483 MB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.4496, allocations: 30.28 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.4497, allocations: 23.44 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.4497, allocations: 0 / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of Templates: time 0.007688/0.4574, allocations: 3.304 MB / 1.084 GB, free: 9.398 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)