Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_latest_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_latest_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.001416/0.001416, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001588/0.001588, allocations: 191 kB / 17.29 MB, free: 5.516 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 62.84 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3303, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005161/0.3356, allocations: 3.097 MB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005302/0.3409, allocations: 3.341 MB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.3413, allocations: 4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.3427, allocations: 0.5597 MB / 1.034 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.3432, allocations: 138.9 kB / 1.034 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.3451, allocations: 0.7033 MB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.3468, allocations: 1.682 MB / 1.036 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.3471, allocations: 258.7 kB / 1.036 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.3477, allocations: 0.584 MB / 1.037 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006295/0.3484, allocations: 0.6111 MB / 1.037 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3486, allocations: 136 kB / 1.038 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.3496, allocations: 0.6516 MB / 1.038 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006352/0.3503, allocations: 0.6157 MB / 1.039 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007552/0.351, allocations: 0.8784 MB / 1.04 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.3539, allocations: 3.424 MB / 1.043 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3539, allocations: 0 / 1.043 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3539, allocations: 0 / 1.043 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.354, allocations: 0 / 1.043 GB, free: 1.355 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003545/0.3575, allocations: 2.176 MB / 1.045 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3576, allocations: 11.97 kB / 1.045 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005942/0.3635, allocations: 0.6504 MB / 1.046 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/0.3667, allocations: 1.627 MB / 1.047 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.3669, allocations: 136.5 kB / 1.047 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.367, allocations: 28.38 kB / 1.048 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003345/0.3704, allocations: 1.888 MB / 1.049 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3704, allocations: 0 / 1.049 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.3705, allocations: 15.98 kB / 1.049 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3706, allocations: 4 kB / 1.049 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005098/0.3757, allocations: 2.626 MB / 1.052 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008153/0.3838, allocations: 4.585 MB / 1.056 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009696/0.3936, allocations: 2.897 MB / 1.059 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002404/0.396, allocations: 1.185 MB / 1.06 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.598e-05/0.3961, allocations: 20.34 kB / 1.06 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003149/0.3993, allocations: 1.781 MB / 1.062 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 3.116e-06/0.3993, allocations: 4 kB / 1.062 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.007862/0.4071, allocations: 3.637 MB / 1.066 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.4073, allocations: 93.66 kB / 1.066 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/0.4117, allocations: 2.759 MB / 1.068 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/0.412, allocations: 53.69 kB / 1.069 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000761/0.4128, allocations: 0.6932 MB / 1.069 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.4131, allocations: 189.4 kB / 1.069 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.4135, allocations: 158.1 kB / 1.07 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4136, allocations: 329.9 kB / 1.07 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002567/0.4162, allocations: 1.454 MB / 1.071 GB, free: 4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.4187, allocations: 1.43 MB / 1.073 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/0.4229, allocations: 2.222 MB / 1.075 GB, free: 332 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.423, allocations: 4 kB / 1.075 GB, free: 328 kB / 0.8419 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.6212/1.044, allocations: 2.968 MB / 1.078 GB, free: 53.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.262e-05/1.044, allocations: 82.28 kB / 1.078 GB, free: 53.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.044, allocations: 0 / 1.078 GB, free: 53.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/1.044, allocations: 6.703 kB / 1.078 GB, free: 53.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.046, allocations: 183.7 kB / 1.078 GB, free: 53.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.046, allocations: 6.562 kB / 1.078 GB, free: 53.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/1.047, allocations: 112.7 kB / 1.078 GB, free: 53.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/1.048, allocations: 44.73 kB / 1.078 GB, free: 53.28 MB / 0.8419 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.001794/1.049, allocations: 0.7834 MB / 1.079 GB, free: 53.08 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005024/1.05, allocations: 177.6 kB / 1.079 GB, free: 53.04 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006663/1.057, allocations: 2.665 MB / 1.082 GB, free: 52.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/1.057, allocations: 6.734 kB / 1.082 GB, free: 52.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.057, allocations: 7.031 kB / 1.082 GB, free: 52.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.057, allocations: 3.531 kB / 1.082 GB, free: 52.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/1.061, allocations: 2.323 MB / 1.084 GB, free: 51.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.061, allocations: 3.719 kB / 1.084 GB, free: 51.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/1.062, allocations: 180.5 kB / 1.084 GB, free: 51.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/1.062, allocations: 1.938 kB / 1.084 GB, free: 51.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/1.062, allocations: 37.75 kB / 1.084 GB, free: 51.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/1.062, allocations: 2.406 kB / 1.084 GB, free: 51.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.062, allocations: 1.125 kB / 1.084 GB, free: 51.22 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006186/1.068, allocations: 2.565 MB / 1.087 GB, free: 50.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.07, allocations: 0.5818 MB / 1.087 GB, free: 49.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/1.071, allocations: 60.39 kB / 1.087 GB, free: 49.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.073, allocations: 121.1 kB / 1.087 GB, free: 49.94 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/1.073, allocations: 55.23 kB / 1.088 GB, free: 49.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/1.073, allocations: 44.55 kB / 1.088 GB, free: 49.92 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.004167/1.077, allocations: 1.977 MB / 1.089 GB, free: 49.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.3e-07/1.077, allocations: 1.125 kB / 1.089 GB, free: 49.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001814/1.079, allocations: 373.9 kB / 1.09 GB, free: 49.17 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.0006864/1.08, allocations: 257.2 kB / 1.09 GB, free: 49.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005877/1.086, allocations: 2.978 MB / 1.093 GB, free: 47.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.086, allocations: 0 / 1.093 GB, free: 47.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002613/1.088, allocations: 1.351 MB / 1.094 GB, free: 47.51 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.09, allocations: 469.7 kB / 1.095 GB, free: 47.35 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007964/1.098, allocations: 4.19 MB / 1.099 GB, free: 45.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.1, allocations: 1.607 MB / 1.1 GB, free: 44.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002169/1.102, allocations: 0.5997 MB / 1.101 GB, free: 44.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/1.103, allocations: 134.4 kB / 1.101 GB, free: 44.64 MB / 0.8419 GB Notification: Performance of SimCode: time 7.51e-07/1.103, allocations: 1.125 kB / 1.101 GB, free: 44.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.05788/1.161, allocations: 32.68 MB / 1.133 GB, free: 30.19 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches