Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001753/0.001753, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00192/0.00192, allocations: 201.8 kB / 22.17 MB, free: 5.207 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.552/1.552, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.88 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004856/1.025, allocations: 3.131 MB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005283/1.03, allocations: 3.362 MB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/1.03, allocations: 11.94 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/1.032, allocations: 0.5675 MB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/1.032, allocations: 134.9 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/1.034, allocations: 0.708 MB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001884/1.036, allocations: 1.674 MB / 1.283 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/1.036, allocations: 113.3 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006873/1.037, allocations: 0.5918 MB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007945/1.038, allocations: 0.6228 MB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/1.038, allocations: 136 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/1.039, allocations: 0.6672 MB / 1.285 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005914/1.039, allocations: 0.6233 MB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008773/1.04, allocations: 0.8746 MB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003703/1.044, allocations: 3.446 MB / 1.29 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/1.044, allocations: 0 / 1.29 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/1.044, allocations: 0 / 1.29 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.472e-05/1.044, allocations: 3.938 kB / 1.29 GB, free: 3.832 MB / 0.9825 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.004038/1.048, allocations: 2.237 MB / 1.292 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.048, allocations: 12.03 kB / 1.292 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006582/1.055, allocations: 0.6553 MB / 1.293 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/1.058, allocations: 1.653 MB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/1.059, allocations: 132.5 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.059, allocations: 32.38 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/1.063, allocations: 1.888 MB / 1.297 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.063, allocations: 0 / 1.297 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.063, allocations: 12 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/1.063, allocations: 8 kB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005689/1.068, allocations: 2.618 MB / 1.299 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009381/1.078, allocations: 4.597 MB / 1.304 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/1.089, allocations: 2.842 MB / 1.307 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/1.091, allocations: 1.146 MB / 1.308 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.31e-05/1.091, allocations: 20.41 kB / 1.308 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003954/1.095, allocations: 1.777 MB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 4.268e-06/1.095, allocations: 0 / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.009282/1.105, allocations: 3.654 MB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.105, allocations: 97.66 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/1.109, allocations: 2.755 MB / 1.316 GB, free: 9.355 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002991/1.11, allocations: 53.69 kB / 1.316 GB, free: 9.297 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000808/1.111, allocations: 0.6933 MB / 1.317 GB, free: 8.598 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/1.111, allocations: 194.4 kB / 1.317 GB, free: 8.406 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/1.111, allocations: 154.1 kB / 1.317 GB, free: 8.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002591/1.111, allocations: 333.9 kB / 1.317 GB, free: 7.918 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003128/1.115, allocations: 1.454 MB / 1.319 GB, free: 6.461 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/1.118, allocations: 1.434 MB / 1.32 GB, free: 5.027 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005231/1.123, allocations: 2.211 MB / 1.322 GB, free: 2.793 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.123, allocations: 0 / 1.322 GB, free: 2.793 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006951/1.13, allocations: 2.996 MB / 1.325 GB, free: 15.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.13, allocations: 83.38 kB / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.13, allocations: 4 kB / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/1.13, allocations: 4 kB / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.131, allocations: 179.7 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/1.131, allocations: 4 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.133, allocations: 111.6 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.133, allocations: 51.94 kB / 1.326 GB, free: 15.34 MB / 1.029 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.001433/1.135, allocations: 0.7801 MB / 1.326 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/1.135, allocations: 182.8 kB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006223/1.141, allocations: 2.684 MB / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.141, allocations: 4 kB / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.141, allocations: 0 / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.141, allocations: 0 / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/1.145, allocations: 2.331 MB / 1.331 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.145, allocations: 0 / 1.331 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.146, allocations: 183.6 kB / 1.332 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.146, allocations: 4 kB / 1.332 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/1.146, allocations: 35.94 kB / 1.332 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/1.146, allocations: 8 kB / 1.332 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.146, allocations: 0 / 1.332 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006303/1.153, allocations: 2.572 MB / 1.334 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.154, allocations: 0.5894 MB / 1.335 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/1.154, allocations: 59.97 kB / 1.335 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.156, allocations: 123.8 kB / 1.335 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/1.156, allocations: 52.5 kB / 1.335 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.156, allocations: 47.92 kB / 1.335 GB, free: 5.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003306/1.16, allocations: 1.976 MB / 1.337 GB, free: 3.551 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/1.16, allocations: 4 kB / 1.337 GB, free: 3.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001194/1.161, allocations: 375.6 kB / 1.337 GB, free: 3.18 MB / 1.029 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.0006376/1.161, allocations: 254.7 kB / 1.337 GB, free: 2.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006455/1.168, allocations: 2.88 MB / 1.34 GB, free: 16 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.168, allocations: 8 kB / 1.34 GB, free: 8 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/1.171, allocations: 1.287 MB / 1.342 GB, free: 14.71 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/1.174, allocations: 471 kB / 1.342 GB, free: 14.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009354/1.183, allocations: 4.254 MB / 1.346 GB, free: 9.953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/1.185, allocations: 1.6 MB / 1.348 GB, free: 8.324 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001958/1.187, allocations: 0.6032 MB / 1.348 GB, free: 7.719 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/1.187, allocations: 131.3 kB / 1.348 GB, free: 7.59 MB / 1.045 GB Notification: Performance of SimCode: time 1.062e-06/1.187, allocations: 0 / 1.348 GB, free: 7.59 MB / 1.045 GB Notification: Performance of Templates: time 0.06145/1.249, allocations: 33.22 MB / 1.381 GB, free: 6.641 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.887463733088225]