Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.005699/0.005699, allocations: 96.98 kB / 15.73 MB, free: 6.488 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.001589/0.001589, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 67.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3877, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002589/0.3903, allocations: 1.131 MB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3921, allocations: 1.322 MB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3922, allocations: 11.88 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.3924, allocations: 19.73 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.3925, allocations: 31.72 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.3931, allocations: 230.5 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.3934, allocations: 351.4 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.3936, allocations: 74.95 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.3938, allocations: 131.7 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.3939, allocations: 135.5 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.394, allocations: 36 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3941, allocations: 55.98 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.3941, allocations: 63.81 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3943, allocations: 139.5 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.3947, allocations: 414.5 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3947, allocations: 0 / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3947, allocations: 0 / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3947, allocations: 4 kB / 1.225 GB, free: 9.668 MB / 0.9825 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.001038/0.3958, allocations: 0.5869 MB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3958, allocations: 8.031 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.3959, allocations: 28.84 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.3964, allocations: 284.2 kB / 1.226 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3965, allocations: 16.38 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.3965, allocations: 36.36 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.397, allocations: 225.6 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.397, allocations: 3.938 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.397, allocations: 7.984 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.397, allocations: 8 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.3974, allocations: 147.9 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3986, allocations: 0.7104 MB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.399, allocations: 208.2 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.3992, allocations: 92.8 kB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3993, allocations: 4 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004442/0.3997, allocations: 255.9 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.3997, allocations: 0 / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0009937/0.4007, allocations: 0.493 MB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4007, allocations: 63.41 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4009, allocations: 160.2 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.4009, allocations: 45.69 kB / 1.228 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.401, allocations: 129 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.4011, allocations: 87.31 kB / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.4012, allocations: 86.11 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4013, allocations: 334.8 kB / 1.229 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.4016, allocations: 120.8 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.4019, allocations: 206.8 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.4024, allocations: 321.2 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4024, allocations: 0 / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007579/0.4032, allocations: 416 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.4032, allocations: 39.42 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4032, allocations: 4.297 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4032, allocations: 12 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.4034, allocations: 31.92 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.4034, allocations: 7.938 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.4037, allocations: 67.72 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.4038, allocations: 20 kB / 1.23 GB, free: 4.152 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.0001713/0.4039, allocations: 170.2 kB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.404, allocations: 19.86 kB / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.404, allocations: 25.95 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.404, allocations: 4 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.404, allocations: 0 / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4041, allocations: 3.938 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4052, allocations: 0.8226 MB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4052, allocations: 3.938 kB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.322e-05/0.4053, allocations: 15.98 kB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.4053, allocations: 3.938 kB / 1.231 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.4053, allocations: 11.98 kB / 1.231 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4053, allocations: 4 kB / 1.231 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4053, allocations: 3.938 kB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.406, allocations: 485.4 kB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.406, allocations: 108.9 kB / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.4061, allocations: 11.98 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.4063, allocations: 23.97 kB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4064, allocations: 31.95 kB / 1.231 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.4064, allocations: 23.98 kB / 1.231 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.191e-05/0.4065, allocations: 114.8 kB / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4065, allocations: 4 kB / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003695/0.4068, allocations: 75.92 kB / 1.232 GB, free: 2.113 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.00022/0.4071, allocations: 125.4 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007037/0.4078, allocations: 364.7 kB / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4078, allocations: 0 / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.408, allocations: 135.9 kB / 1.232 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.4084, allocations: 39.84 kB / 1.232 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008042/0.4092, allocations: 436 kB / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.4095, allocations: 0.7406 MB / 1.233 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.783e-05/0.4096, allocations: 30.28 kB / 1.233 GB, free: 196 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.4097, allocations: 23.44 kB / 1.233 GB, free: 172 kB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.4097, allocations: 0 / 1.233 GB, free: 172 kB / 0.9825 GB Notification: Performance of Templates: time 0.007069/0.4167, allocations: 3.332 MB / 1.237 GB, free: 12.89 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Heating_AirSource_Validation_BaseClasses_Validation_PLRToPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches