Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.01056/0.01056, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 11.94 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.8953, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.003592/0.8989, allocations: 2.749 MB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004922/0.9039, allocations: 3.326 MB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.9042, allocations: 7.938 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.9058, allocations: 0.5541 MB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.9062, allocations: 119.2 kB / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.9079, allocations: 0.5897 MB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.9096, allocations: 1.571 MB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.91, allocations: 241.3 kB / 1.032 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008275/0.9109, allocations: 0.5098 MB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009505/0.9118, allocations: 0.5915 MB / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.9121, allocations: 80 kB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.9133, allocations: 0.5657 MB / 1.034 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000628/0.9139, allocations: 0.5727 MB / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.9151, allocations: 0.8372 MB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.9187, allocations: 3.267 MB / 1.038 GB, free: 244 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9187, allocations: 0 / 1.038 GB, free: 244 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9187, allocations: 0 / 1.038 GB, free: 244 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.02e-05/0.9188, allocations: 0 / 1.038 GB, free: 244 kB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003847/0.9226, allocations: 1.842 MB / 1.04 GB, free: 14.32 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.9227, allocations: 12.03 kB / 1.04 GB, free: 14.31 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00672/0.9294, allocations: 0.6777 MB / 1.041 GB, free: 13.63 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.9324, allocations: 1.624 MB / 1.042 GB, free: 11.94 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.9327, allocations: 136.5 kB / 1.042 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.9328, allocations: 28.38 kB / 1.042 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/0.9366, allocations: 1.911 MB / 1.044 GB, free: 9.848 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.9366, allocations: 0 / 1.044 GB, free: 9.848 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.9367, allocations: 16 kB / 1.044 GB, free: 9.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.9367, allocations: 8 kB / 1.044 GB, free: 9.824 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005701/0.9425, allocations: 2.661 MB / 1.047 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00911/0.9516, allocations: 4.651 MB / 1.051 GB, free: 2.438 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.9622, allocations: 2.985 MB / 1.054 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/0.965, allocations: 1.205 MB / 1.056 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.71e-05/0.9651, allocations: 16.42 kB / 1.056 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003485/0.9686, allocations: 1.812 MB / 1.057 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.936e-06/0.9687, allocations: 0 / 1.057 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.008423/0.9771, allocations: 3.696 MB / 1.061 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.9772, allocations: 97.66 kB / 1.061 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.9814, allocations: 2.755 MB / 1.064 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003009/0.9817, allocations: 53.69 kB / 1.064 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007458/0.9825, allocations: 0.6971 MB / 1.064 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.9827, allocations: 185.5 kB / 1.065 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.9829, allocations: 61.69 kB / 1.065 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.983, allocations: 341.8 kB / 1.065 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/0.9859, allocations: 1.47 MB / 1.066 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002826/0.9887, allocations: 1.453 MB / 1.068 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005099/0.9938, allocations: 2.258 MB / 1.07 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.9939, allocations: 0 / 1.07 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006373/1, allocations: 3.026 MB / 1.073 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/1, allocations: 83.38 kB / 1.073 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1, allocations: 4 kB / 1.073 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1, allocations: 4 kB / 1.073 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.002, allocations: 187.7 kB / 1.073 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.002, allocations: 0 / 1.073 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/1.003, allocations: 127.5 kB / 1.073 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/1.004, allocations: 47.94 kB / 1.073 GB, free: 11.7 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.coiCap.checkBoundsTCon[4],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.001356/1.005, allocations: 0.7767 MB / 1.074 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/1.005, allocations: 181.8 kB / 1.074 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00623/1.012, allocations: 2.712 MB / 1.077 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/1.012, allocations: 8 kB / 1.077 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.012, allocations: 0 / 1.077 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.012, allocations: 0 / 1.077 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/1.015, allocations: 2.33 MB / 1.079 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/1.015, allocations: 3.938 kB / 1.079 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.016, allocations: 199.6 kB / 1.08 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/1.016, allocations: 0 / 1.08 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/1.016, allocations: 39.94 kB / 1.08 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.016, allocations: 0 / 1.08 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.016, allocations: 0 / 1.08 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/1.022, allocations: 2.594 MB / 1.082 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.024, allocations: 0.5844 MB / 1.083 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000353/1.024, allocations: 55.97 kB / 1.083 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.026, allocations: 151.8 kB / 1.083 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.026, allocations: 60.47 kB / 1.083 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.026, allocations: 47.94 kB / 1.083 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003078/1.029, allocations: 1.984 MB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/1.029, allocations: 0 / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001257/1.03, allocations: 371.8 kB / 1.085 GB, free: 15.46 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[dryCoi.coiCap.stage],dryCoi.coiCap.checkBoundsTCon[dryCoi.coiCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.0006343/1.031, allocations: 253.3 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006028/1.037, allocations: 3.02 MB / 1.088 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.037, allocations: 4 kB / 1.088 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002884/1.04, allocations: 1.365 MB / 1.09 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/1.042, allocations: 444 kB / 1.09 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008762/1.051, allocations: 4.623 MB / 1.095 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.052, allocations: 1.604 MB / 1.096 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002341/1.055, allocations: 0.6149 MB / 1.097 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/1.055, allocations: 131.3 kB / 1.097 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of SimCode: time 7.61e-07/1.055, allocations: 0 / 1.097 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of Templates: time 0.05498/1.11, allocations: 31.03 MB / 1.127 GB, free: 4.508 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches