Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|plrToPul.uPLR|plrToPul.yEna|gaiTim.y|timEna.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse") translateModel(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plrToPul.uPLR|plrToPul.yEna|gaiTim.y|timEna.y",fileNamePrefix="Buildings_latest_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.0008855/0.0008857, allocations: 103 kB / 15.06 MB, free: 1.098 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.0009424/0.0009425, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004964, allocations: 8 kB / 0.8708 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8897/0.8902, allocations: 153.6 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.001594/0.8919, allocations: 0.802 MB / 1.022 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.8937, allocations: 1.292 MB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.8939, allocations: 4 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.8939, allocations: 11.86 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.8941, allocations: 31.88 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.8947, allocations: 189.6 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.8949, allocations: 187.7 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.8951, allocations: 73.67 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.8953, allocations: 107.7 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.8955, allocations: 107.5 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.8955, allocations: 16 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.707e-05/0.8956, allocations: 27.97 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.8957, allocations: 47.83 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.8958, allocations: 65.64 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.8961, allocations: 329.1 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8961, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8961, allocations: 3.938 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.8961, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 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.000974/0.8971, allocations: 0.5364 MB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.8972, allocations: 8.031 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.568e-05/0.8973, allocations: 35.72 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.8978, allocations: 292.1 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.8978, allocations: 23.98 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.8979, allocations: 39.94 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.8984, allocations: 241.2 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8984, allocations: 3.938 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.8984, allocations: 15.98 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.8985, allocations: 4 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.8988, allocations: 155.9 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.9001, allocations: 0.7499 MB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/0.9006, allocations: 266.9 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.9006, allocations: 192 / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000564/0.9012, allocations: 322.8 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=38): time 1.734e-06/0.9012, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38): time 0.001005/0.9022, allocations: 0.5374 MB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.9023, allocations: 59.41 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.9025, allocations: 163.2 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.9025, allocations: 45.7 kB / 1.027 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.9026, allocations: 128.8 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.9027, allocations: 90.88 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.9027, allocations: 12 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9029, allocations: 334.8 kB / 1.028 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.9032, allocations: 136.9 kB / 1.028 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.9035, allocations: 224.5 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.9038, allocations: 165.9 kB / 1.028 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.9038, allocations: 0 / 1.028 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007572/0.9046, allocations: 457.3 kB / 1.029 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.9046, allocations: 47.19 kB / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.9047, allocations: 11.97 kB / 1.029 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.9047, allocations: 4 kB / 1.029 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.9049, allocations: 43.91 kB / 1.029 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.9049, allocations: 8.25 kB / 1.029 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.9052, allocations: 79.7 kB / 1.029 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.9053, allocations: 23.92 kB / 1.029 GB, free: 8.32 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.plrToPul.lat.y,$PRE.plrToPul.truDel.u,$PRE.samPLR.firstTrigger,samPLR.firstTrigger,$PRE.timEna.passed,timEna.passed,$PRE.plrToPul.tim.passed,plrToPul.tim.passed,$whenCondition11,$PRE.plrToPul.truDel.t_next,$whenCondition5,$whenCondition6,$whenCondition17,samPLR.sampleTrigger,samPLR.y,plrToPul.truDel.t_next,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition12,$whenCondition13,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,$PRE.plrToPul.triSam.y,plrToPul.triSam.y,$PRE.plrToPul.tim.entryTime,plrToPul.tim.entryTime,$PRE.plrToPul.booPul.y,plrToPul.booPul.y,$PRE.plrToPul.lat.u,plrToPul.lat.u,$PRE.plrToPul.lat.clr,plrToPul.lat.clr,plrToPul.lat.y,$PRE.plrToPul.pre1.u,plrToPul.pre1.u,plrToPul.truDel.u,plrToPul.truDel.y,$PRE.timEna.entryTime,timEna.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.9055, allocations: 169.7 kB / 1.029 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.9056, allocations: 27.75 kB / 1.029 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.9056, allocations: 21.97 kB / 1.029 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.9056, allocations: 4 kB / 1.029 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.9057, allocations: 4 kB / 1.029 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.9057, allocations: 3.984 kB / 1.029 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.9069, allocations: 0.8805 MB / 1.03 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9069, allocations: 0 / 1.03 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.907, allocations: 27.98 kB / 1.03 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.907, allocations: 3.938 kB / 1.03 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.907, allocations: 11.98 kB / 1.03 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.9071, allocations: 4 kB / 1.03 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9071, allocations: 0 / 1.03 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.9078, allocations: 0.5181 MB / 1.031 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.9079, allocations: 100.8 kB / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.9079, allocations: 12 kB / 1.031 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.9081, allocations: 31.95 kB / 1.031 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.9082, allocations: 39.94 kB / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.9083, allocations: 27.98 kB / 1.031 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.757e-05/0.9084, allocations: 116.9 kB / 1.031 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9084, allocations: 0 / 1.031 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003793/0.9087, allocations: 79.83 kB / 1.031 GB, free: 6.152 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 33 (plrToPul.truDel.u,samPLR.sampleTrigger,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,plrToPul.triSam.y,plrToPul.tim.passed,plrToPul.tim.entryTime,plrToPul.booPul.y,plrToPul.lat.u,plrToPul.lat.clr,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: 7 (plrToPul.truDel.t_next,plrToPul.pre1.u,plrToPul.lat.u,plrToPul.lat.clr,plrToPul.lat.y,timEna.entryTime,plrToPul.tim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002339/0.909, allocations: 149.5 kB / 1.031 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007409/0.9097, allocations: 432.2 kB / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9098, allocations: 0 / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.9101, allocations: 220.2 kB / 1.032 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.9104, allocations: 28.58 kB / 1.032 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.9112, allocations: 0.5016 MB / 1.032 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.9115, allocations: 0.7487 MB / 1.033 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.9116, allocations: 30.97 kB / 1.033 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.9117, allocations: 35.42 kB / 1.033 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.9117, allocations: 3.938 kB / 1.033 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of Templates: time 0.007093/0.9188, allocations: 3.204 MB / 1.036 GB, free: 0.793 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Heating_AirSource_Validation_BaseClasses_Validation_PLRToPulse.csv","../files/Buildings_latest_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches