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.001634/0.001634, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001767/0.001767, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 66.06 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3329, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002754/0.3357, allocations: 1.181 MB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3375, allocations: 1.342 MB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3376, allocations: 4 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.3378, allocations: 11.86 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.3379, allocations: 23.8 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.3384, allocations: 199 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.3387, allocations: 323.3 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.3389, allocations: 90.95 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.339, allocations: 115.6 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.3392, allocations: 127.5 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.3392, allocations: 16 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.3393, allocations: 27.98 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.3394, allocations: 59.75 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3395, allocations: 119.4 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.3399, allocations: 391.1 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3399, allocations: 0 / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3399, allocations: 0 / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3399, allocations: 0 / 1.056 GB, free: 4.805 MB / 0.8106 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.001074/0.341, allocations: 0.5678 MB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.341, allocations: 8.031 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.004e-05/0.3411, allocations: 28.66 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.3416, allocations: 284.1 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.3417, allocations: 32.36 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.3417, allocations: 28.36 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.3422, allocations: 221.8 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3422, allocations: 3.938 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.3422, allocations: 11.98 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3423, allocations: 7.938 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.3426, allocations: 151.6 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.3438, allocations: 0.7029 MB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.3443, allocations: 238.4 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.3446, allocations: 112.8 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.3446, allocations: 4 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.3451, allocations: 260 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.3451, allocations: 0 / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.0009853/0.3461, allocations: 0.4892 MB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3462, allocations: 63.39 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3463, allocations: 161.4 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.3464, allocations: 41.7 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.3465, allocations: 124.9 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.3465, allocations: 82.95 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3467, allocations: 90.11 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3468, allocations: 334.8 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.3471, allocations: 116.8 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.3474, allocations: 206.8 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.3479, allocations: 316.8 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3479, allocations: 7.938 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007672/0.3487, allocations: 416 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.3488, allocations: 33.7 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3488, allocations: 4 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3488, allocations: 4 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.349, allocations: 43.84 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.349, allocations: 4 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.3493, allocations: 67.97 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.3494, allocations: 16 kB / 1.061 GB, free: 15.27 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.0001696/0.3495, allocations: 169.7 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.3496, allocations: 23.75 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.3496, allocations: 21.95 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3497, allocations: 4 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3497, allocations: 4 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3497, allocations: 7.875 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3508, allocations: 0.8196 MB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3508, allocations: 0 / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.3509, allocations: 23.92 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.351, allocations: 7.938 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.351, allocations: 12.03 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.351, allocations: 0 / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.351, allocations: 3.984 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.3517, allocations: 475.1 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.3517, allocations: 108.8 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.3518, allocations: 15.98 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.352, allocations: 19.97 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.3521, allocations: 31.95 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.3521, allocations: 19.98 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.909e-05/0.3522, allocations: 117.5 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.563e-06/0.3522, allocations: 0 / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003535/0.3526, allocations: 79.78 kB / 1.063 GB, free: 13.23 MB / 0.8262 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.0001889/0.3528, allocations: 129.5 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006867/0.3535, allocations: 380.1 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3535, allocations: 0.625 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.3538, allocations: 187.8 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3541, allocations: 38.36 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007628/0.3549, allocations: 487.2 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3552, allocations: 0.7409 MB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000105/0.3553, allocations: 30.28 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.3554, allocations: 31.42 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3554, allocations: 0 / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of Templates: time 0.006305/0.3617, allocations: 3.012 MB / 1.068 GB, free: 8.207 MB / 0.8262 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