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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007312/0.007312, allocations: 102 kB / 15.73 MB, free: 6.035 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.001632/0.001633, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.802/2.802, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3781, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.003095/0.3813, allocations: 1.134 MB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3833, allocations: 1.322 MB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.3835, allocations: 4 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.3837, allocations: 23.67 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3838, allocations: 31.72 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.3845, allocations: 222.2 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.3849, allocations: 359.4 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.3851, allocations: 102.9 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.3852, allocations: 131.7 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.3854, allocations: 139.5 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.3855, allocations: 40 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3856, allocations: 51.98 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.589e-05/0.3857, allocations: 67.8 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3858, allocations: 139.5 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004103/0.3862, allocations: 410.7 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3862, allocations: 4 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3863, allocations: 0 / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3863, allocations: 0 / 1.212 GB, free: 5.473 MB / 0.9669 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.001076/0.3873, allocations: 0.5794 MB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3874, allocations: 8.625 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.69e-05/0.3875, allocations: 28.73 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000536/0.388, allocations: 284.1 kB / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.3881, allocations: 24.3 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.3881, allocations: 32.36 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.3887, allocations: 221.9 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3887, allocations: 3.938 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.3888, allocations: 8 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3888, allocations: 4 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.3892, allocations: 143.9 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.3908, allocations: 0.7064 MB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.3914, allocations: 242.4 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.3916, allocations: 112.8 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.3917, allocations: 4 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/0.3922, allocations: 267.3 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.3922, allocations: 3.938 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.001075/0.3933, allocations: 489 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3934, allocations: 59.39 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3936, allocations: 173 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.3936, allocations: 41.64 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3938, allocations: 136.8 kB / 1.215 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.3938, allocations: 75.06 kB / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.394, allocations: 86.11 kB / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3941, allocations: 338.8 kB / 1.216 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.3944, allocations: 112.8 kB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.3947, allocations: 206.8 kB / 1.216 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.3952, allocations: 317.9 kB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3952, allocations: 4 kB / 1.216 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007268/0.396, allocations: 415.9 kB / 1.217 GB, free: 116 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.396, allocations: 37.7 kB / 1.217 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.396, allocations: 4 kB / 1.217 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.396, allocations: 4.312 kB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3962, allocations: 47.91 kB / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3962, allocations: 4 kB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.3965, allocations: 63.58 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.3966, allocations: 23.97 kB / 1.217 GB, free: 15.93 MB / 0.9825 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.0001805/0.3968, allocations: 169.7 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.3968, allocations: 19.81 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.3969, allocations: 21.97 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3969, allocations: 4 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3969, allocations: 0 / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3969, allocations: 7.922 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.398, allocations: 0.8197 MB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.398, allocations: 4 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/0.3981, allocations: 19.98 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.3982, allocations: 15.92 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3982, allocations: 8 kB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3982, allocations: 0 / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3982, allocations: 7.922 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006895/0.3989, allocations: 488.1 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.399, allocations: 96.84 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.399, allocations: 8 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.3992, allocations: 23.97 kB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.3993, allocations: 31.95 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.3993, allocations: 19.98 kB / 1.219 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.495e-05/0.3994, allocations: 113.9 kB / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3994, allocations: 0 / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003445/0.3998, allocations: 83.83 kB / 1.219 GB, free: 13.89 MB / 0.9825 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.000212/0.4, allocations: 133.4 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006994/0.4007, allocations: 384 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4007, allocations: 0 / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.401, allocations: 175.9 kB / 1.219 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.4014, allocations: 31.97 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.4021, allocations: 426.6 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4025, allocations: 0.7406 MB / 1.221 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.904e-05/0.4026, allocations: 30.28 kB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.4026, allocations: 27.44 kB / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.4027, allocations: 3.938 kB / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of Templates: time 0.00686/0.4095, allocations: 3.332 MB / 1.224 GB, free: 8.598 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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