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.001751/0.001751, allocations: 109.3 kB / 16.42 MB, free: 6.457 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.00212/0.00212, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9072/0.9087, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.Validation.PLRToPulse): time 0.002921/0.9116, allocations: 1.134 MB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.9136, allocations: 1.33 MB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.9138, allocations: 4 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.914, allocations: 23.73 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.9142, allocations: 31.66 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.9149, allocations: 226.6 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.9152, allocations: 351.4 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.9155, allocations: 102.9 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.9156, allocations: 131.7 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.9158, allocations: 143.5 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.9159, allocations: 36 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.916, allocations: 51.98 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.9161, allocations: 75.75 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.9162, allocations: 135.5 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.9167, allocations: 422.4 kB / 1.213 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.9167, allocations: 0 / 1.213 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9167, allocations: 0 / 1.213 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.9167, allocations: 0 / 1.213 GB, free: 9.426 MB / 0.9356 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.9178, allocations: 0.5695 MB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.9178, allocations: 12.03 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.9179, allocations: 24.75 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.9185, allocations: 292 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.9185, allocations: 16.38 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.9186, allocations: 36.36 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.919, allocations: 221.6 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.919, allocations: 3.938 kB / 1.214 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.9191, allocations: 15.98 kB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.9191, allocations: 4 kB / 1.214 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.9194, allocations: 147.8 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.9206, allocations: 0.6948 MB / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.9211, allocations: 234.4 kB / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.9213, allocations: 112.8 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.9214, allocations: 4 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004524/0.9218, allocations: 258.9 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.9218, allocations: 0 / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.0009801/0.9228, allocations: 0.4942 MB / 1.216 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.9229, allocations: 59.41 kB / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.923, allocations: 160.8 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.9231, allocations: 49.69 kB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.9232, allocations: 124.8 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/0.9232, allocations: 82.98 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.9234, allocations: 86.12 kB / 1.216 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9235, allocations: 338.8 kB / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.9238, allocations: 116.8 kB / 1.217 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.9241, allocations: 210.7 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.9246, allocations: 322 kB / 1.217 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9246, allocations: 0 / 1.217 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007175/0.9253, allocations: 415.9 kB / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.9254, allocations: 41.69 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9254, allocations: 0 / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.9254, allocations: 8 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.9256, allocations: 35.86 kB / 1.218 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.9256, allocations: 7.984 kB / 1.218 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.9259, allocations: 60.11 kB / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.926, allocations: 23.94 kB / 1.218 GB, free: 3.895 MB / 0.9356 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.0001782/0.9261, allocations: 161.8 kB / 1.218 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.9262, allocations: 23.72 kB / 1.218 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.9263, allocations: 21.95 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.9263, allocations: 4 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9263, allocations: 3.938 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.9263, allocations: 100.9 kB / 1.218 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.9264, allocations: 19.92 kB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.9265, allocations: 27.97 kB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.9266, allocations: 27.95 kB / 1.218 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007591/0.9274, allocations: 477.7 kB / 1.218 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006937/0.9281, allocations: 0.545 MB / 1.219 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002714/0.9284, allocations: 176.5 kB / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.676e-05/0.9285, allocations: 117.2 kB / 1.219 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of Backend: time 6.41e-07/0.9285, allocations: 0 / 1.219 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009047/0.9294, allocations: 366 kB / 1.22 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008543/0.9303, allocations: 0.7785 MB / 1.22 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of Templates: time 0.01189/0.9422, allocations: 3.581 MB / 1.224 GB, free: 13.43 MB / 0.9512 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/jenkins1/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