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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001171/0.001171, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7452 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 61.41 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4192, allocations: 159.9 MB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.00286/0.4221, allocations: 1.133 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.424, allocations: 1.33 MB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.4242, allocations: 4 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.4244, allocations: 19.73 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.444e-05/0.4245, allocations: 35.66 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.4251, allocations: 227.6 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.4254, allocations: 351.2 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.4256, allocations: 110.9 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.4258, allocations: 127.7 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.4259, allocations: 131.5 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.426, allocations: 36 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.4261, allocations: 55.98 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.4262, allocations: 71.75 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.4263, allocations: 139.5 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.4267, allocations: 403.1 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4267, allocations: 4 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4267, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.4267, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 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.000943/0.4277, allocations: 0.5755 MB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.4277, allocations: 8.031 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.4278, allocations: 24.75 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.4283, allocations: 290.5 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.4283, allocations: 24.36 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.4284, allocations: 24.38 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.4288, allocations: 217.9 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4288, allocations: 3.938 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.4288, allocations: 11.98 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.4289, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.4292, allocations: 155.8 kB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.4304, allocations: 0.7028 MB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.4309, allocations: 241.6 kB / 1.075 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.4311, allocations: 112.8 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.4312, allocations: 3.984 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005235/0.4317, allocations: 262.9 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 3.887e-06/0.4317, allocations: 0 / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0009392/0.4327, allocations: 498 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4327, allocations: 59.41 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4329, allocations: 168.9 kB / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.4329, allocations: 41.7 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.433, allocations: 128.8 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.4331, allocations: 83.05 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4332, allocations: 90.11 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4334, allocations: 330.8 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.4336, allocations: 112.8 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.4339, allocations: 218.8 kB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.4344, allocations: 309.5 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4344, allocations: 4 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007186/0.4352, allocations: 415.9 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.4352, allocations: 37.69 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4352, allocations: 4 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4352, allocations: 4 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.4354, allocations: 44.17 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4354, allocations: 11.98 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.4357, allocations: 59.73 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.4358, allocations: 16 kB / 1.077 GB, free: 0.5977 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.0001705/0.436, allocations: 175.2 kB / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.436, allocations: 27.7 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.4361, allocations: 22 kB / 1.078 GB, free: 384 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4361, allocations: 4 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4361, allocations: 0 / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4361, allocations: 7.922 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.4372, allocations: 0.8158 MB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4372, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.4373, allocations: 19.92 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.4373, allocations: 7.938 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.4374, allocations: 11.98 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4374, allocations: 3.938 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4374, allocations: 0 / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.438, allocations: 482.8 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.4381, allocations: 92.86 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.4382, allocations: 15.98 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4383, allocations: 23.97 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.4384, allocations: 27.95 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.4385, allocations: 23.98 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.897e-05/0.4386, allocations: 123.2 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4386, allocations: 0 / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003548/0.4389, allocations: 75.84 kB / 1.079 GB, free: 14.56 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.0002229/0.4392, allocations: 130 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007698/0.4399, allocations: 408.5 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.44, allocations: 0 / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.4403, allocations: 180.3 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4406, allocations: 37.53 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.4414, allocations: 425.2 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.4418, allocations: 0.7406 MB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.442, allocations: 30.28 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.442, allocations: 23.44 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of SimCode: time 8.72e-07/0.442, allocations: 0 / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of Templates: time 0.007422/0.4495, allocations: 3.306 MB / 1.084 GB, free: 9.289 MB / 0.8419 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