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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 443.4 MB / 0.7321 GB, free: 12.34 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.89 kB / 1.061 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 160.8 MB / 1.218 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.00833/1.064, allocations: 3.137 MB / 1.222 GB, free: 1.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008542/1.073, allocations: 3.371 MB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006703/1.073, allocations: 16.19 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/1.076, allocations: 0.5622 MB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007014/1.077, allocations: 132.3 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/1.08, allocations: 0.7196 MB / 1.226 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003604/1.084, allocations: 1.69 MB / 1.228 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004739/1.084, allocations: 114 kB / 1.228 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/1.086, allocations: 0.5967 MB / 1.229 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/1.088, allocations: 0.629 MB / 1.229 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007257/1.089, allocations: 140.3 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/1.092, allocations: 0.728 MB / 1.23 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/1.093, allocations: 0.6311 MB / 1.231 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002071/1.095, allocations: 0.8668 MB / 1.231 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006717/1.102, allocations: 3.449 MB / 1.235 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/1.102, allocations: 0 / 1.235 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.014e-06/1.102, allocations: 3.938 kB / 1.235 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.194e-05/1.102, allocations: 0 / 1.235 GB, free: 6.504 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.006207/1.108, allocations: 2.235 MB / 1.237 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.015e-05/1.108, allocations: 12.03 kB / 1.237 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009826/1.118, allocations: 0.6592 MB / 1.238 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005541/1.123, allocations: 1.645 MB / 1.239 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/1.124, allocations: 132.5 kB / 1.239 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/1.124, allocations: 32.38 kB / 1.239 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005129/1.129, allocations: 1.888 MB / 1.241 GB, free: 15.74 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/1.129, allocations: 0 / 1.241 GB, free: 15.74 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/1.129, allocations: 12 kB / 1.241 GB, free: 15.73 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/1.129, allocations: 8 kB / 1.241 GB, free: 15.72 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008186/1.137, allocations: 2.618 MB / 1.244 GB, free: 13.1 MB / 0.9513 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/1.151, allocations: 4.597 MB / 1.248 GB, free: 8.441 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.164, allocations: 2.844 MB / 1.251 GB, free: 5.59 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/1.167, allocations: 1.146 MB / 1.252 GB, free: 4.441 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/1.167, allocations: 24.3 kB / 1.252 GB, free: 4.418 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004502/1.172, allocations: 1.776 MB / 1.254 GB, free: 2.621 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=61): time 3.858e-06/1.172, allocations: 0 / 1.254 GB, free: 2.621 MB / 0.9513 GB Notification: Performance of matching and sorting (n=61): time 0.01082/1.183, allocations: 3.656 MB / 1.258 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.183, allocations: 97.59 kB / 1.258 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006632/1.189, allocations: 2.751 MB / 1.26 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005246/1.19, allocations: 53.69 kB / 1.26 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.191, allocations: 0.6972 MB / 1.261 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004288/1.191, allocations: 190.3 kB / 1.261 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004734/1.192, allocations: 162 kB / 1.261 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.192, allocations: 333.9 kB / 1.262 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00363/1.196, allocations: 1.45 MB / 1.263 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003576/1.199, allocations: 1.434 MB / 1.265 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00611/1.205, allocations: 2.212 MB / 1.267 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.205, allocations: 0 / 1.267 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.008238/1.214, allocations: 2.993 MB / 1.27 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.214, allocations: 83.38 kB / 1.27 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.214, allocations: 3.984 kB / 1.27 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.512e-05/1.214, allocations: 8 kB / 1.27 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.215, allocations: 179.7 kB / 1.27 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/1.215, allocations: 4 kB / 1.27 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/1.217, allocations: 111.6 kB / 1.27 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.217, allocations: 47.95 kB / 1.27 GB, free: 2.016 MB / 0.9669 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.001855/1.219, allocations: 0.784 MB / 1.271 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008715/1.22, allocations: 186.8 kB / 1.271 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/1.226, allocations: 2.664 MB / 1.274 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/1.226, allocations: 7.984 kB / 1.274 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.226, allocations: 0 / 1.274 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/1.226, allocations: 4 kB / 1.274 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/1.23, allocations: 2.33 MB / 1.276 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.23, allocations: 0 / 1.276 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.231, allocations: 183.7 kB / 1.276 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/1.231, allocations: 0 / 1.276 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/1.231, allocations: 39.94 kB / 1.276 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/1.231, allocations: 7.938 kB / 1.276 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.232, allocations: 11.97 kB / 1.276 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/1.237, allocations: 2.562 MB / 1.279 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.239, allocations: 0.5932 MB / 1.279 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/1.239, allocations: 59.97 kB / 1.279 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.24, allocations: 123.8 kB / 1.279 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.241, allocations: 56.41 kB / 1.279 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/1.241, allocations: 43.94 kB / 1.279 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003289/1.244, allocations: 1.976 MB / 1.281 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.244, allocations: 4 kB / 1.281 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001382/1.245, allocations: 375.6 kB / 1.282 GB, free: 5.852 MB / 0.9825 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.0006241/1.246, allocations: 254.1 kB / 1.282 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005672/1.252, allocations: 2.875 MB / 1.285 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.252, allocations: 4 kB / 1.285 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/1.254, allocations: 1.291 MB / 1.286 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.257, allocations: 473.3 kB / 1.287 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008172/1.265, allocations: 4.242 MB / 1.291 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/1.266, allocations: 1.604 MB / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001901/1.268, allocations: 0.6032 MB / 1.293 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/1.269, allocations: 135.3 kB / 1.293 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.269, allocations: 0 / 1.293 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of Templates: time 0.06174/1.33, allocations: 33.36 MB / 1.326 GB, free: 9.184 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.187814071774483]