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.001543/0.001543, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001513/0.001513, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 65.02 kB / 0.9088 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 159.2 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002598/0.3278, allocations: 1.177 MB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3297, allocations: 1.318 MB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.3299, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.3301, allocations: 19.8 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.3302, allocations: 11.86 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.3308, allocations: 199 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.3312, allocations: 363.4 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.3314, allocations: 98.94 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.3316, allocations: 139.7 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.3318, allocations: 123.5 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.3318, allocations: 40 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.3319, allocations: 59.91 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.332, allocations: 59.83 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.3322, allocations: 151.5 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.3325, allocations: 315.5 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3325, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.092e-06/0.3325, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3326, allocations: 7.938 kB / 1.068 GB, free: 10.99 MB / 0.8419 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.001066/0.3336, allocations: 0.566 MB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3337, allocations: 12.03 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.3338, allocations: 28.66 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.3343, allocations: 284 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.3343, allocations: 24.38 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.3344, allocations: 32.36 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.3348, allocations: 221.8 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3349, allocations: 3.938 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.3349, allocations: 11.98 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3349, allocations: 4 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.3353, allocations: 147.9 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.3365, allocations: 0.7065 MB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.337, allocations: 234.4 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3373, allocations: 112.8 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3373, allocations: 11.98 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005431/0.3378, allocations: 260.6 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.3379, allocations: 0 / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.001004/0.3389, allocations: 496.9 kB / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.3389, allocations: 59.41 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3391, allocations: 165.2 kB / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.3391, allocations: 45.69 kB / 1.071 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.3392, allocations: 124.8 kB / 1.072 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.3393, allocations: 79.03 kB / 1.072 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.3395, allocations: 86.12 kB / 1.072 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3396, allocations: 342.8 kB / 1.072 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.3399, allocations: 112.8 kB / 1.072 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.3403, allocations: 210.8 kB / 1.072 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.3408, allocations: 313.5 kB / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3408, allocations: 0 / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007945/0.3416, allocations: 420.8 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.3417, allocations: 41.69 kB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3417, allocations: 0 / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.3417, allocations: 8 kB / 1.073 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3419, allocations: 39.86 kB / 1.073 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.3419, allocations: 7.984 kB / 1.073 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.3422, allocations: 60.05 kB / 1.073 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.3423, allocations: 20 kB / 1.073 GB, free: 5.465 MB / 0.8419 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.0001896/0.3425, allocations: 165.6 kB / 1.073 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.3425, allocations: 31.7 kB / 1.073 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.3426, allocations: 22.02 kB / 1.073 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.3426, allocations: 11.98 kB / 1.073 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3426, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3426, allocations: 7.922 kB / 1.073 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.3438, allocations: 0.8119 MB / 1.074 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3439, allocations: 4 kB / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.344, allocations: 19.92 kB / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.344, allocations: 3.938 kB / 1.074 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.344, allocations: 11.98 kB / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.344, allocations: 4 kB / 1.074 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.344, allocations: 0 / 1.074 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007057/0.3447, allocations: 483 kB / 1.075 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.3448, allocations: 96.86 kB / 1.075 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.3449, allocations: 11.98 kB / 1.075 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.345, allocations: 31.84 kB / 1.075 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.3451, allocations: 31.95 kB / 1.075 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.3452, allocations: 23.98 kB / 1.075 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.563e-05/0.3453, allocations: 117.9 kB / 1.075 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3453, allocations: 0 / 1.075 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003585/0.3456, allocations: 79.84 kB / 1.075 GB, free: 3.418 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.0002117/0.3459, allocations: 133.4 kB / 1.075 GB, free: 3.277 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00078/0.3466, allocations: 395.6 kB / 1.076 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3467, allocations: 0.625 kB / 1.076 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.347, allocations: 187.8 kB / 1.076 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3473, allocations: 38.06 kB / 1.076 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.3482, allocations: 0.5061 MB / 1.076 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3485, allocations: 0.7406 MB / 1.077 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.3486, allocations: 27.44 kB / 1.077 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.3486, allocations: 0 / 1.077 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of Templates: time 0.4567/0.8053, allocations: 3.287 MB / 1.08 GB, free: 21.35 MB / 0.8419 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=400 -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/jenkins1/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) "" Variables in the reference:time,plrToPul.uPLR,plrToPul.yEna,gaiTim.y,timEna.y Variables in the result:gaiTim.y,plrToPul.uPLR,plrToPul.yEna,timEna.y,time