Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.001413/0.001413, allocations: 106.3 kB / 16.45 MB, free: 6.512 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.001361/0.001361, allocations: 199.8 kB / 19.41 MB, free: 3.668 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.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.848/2.848, allocations: 476.7 MB / 0.7611 GB, free: 11.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 1.104 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 168.7 MB / 1.269 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00437/1.103, allocations: 2.394 MB / 1.272 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.2078/1.311, allocations: 151.4 MB / 1.419 GB, free: 10.8 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/1.311, allocations: 3.938 kB / 1.419 GB, free: 10.8 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005556/1.312, allocations: 95.42 kB / 1.42 GB, free: 10.71 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/1.313, allocations: 242.6 kB / 1.42 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/1.315, allocations: 0.6643 MB / 1.42 GB, free: 9.812 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008612/1.316, allocations: 430.6 kB / 1.421 GB, free: 9.391 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/1.316, allocations: 32.72 kB / 1.421 GB, free: 9.359 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/1.317, allocations: 187.4 kB / 1.421 GB, free: 9.176 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/1.317, allocations: 207.3 kB / 1.421 GB, free: 8.973 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.746e-05/1.317, allocations: 28 kB / 1.421 GB, free: 8.945 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/1.319, allocations: 0.6511 MB / 1.422 GB, free: 8.293 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/1.319, allocations: 83.72 kB / 1.422 GB, free: 8.211 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002489/1.32, allocations: 163.2 kB / 1.422 GB, free: 8.051 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/1.321, allocations: 0.6527 MB / 1.423 GB, free: 7.402 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.321, allocations: 0 / 1.423 GB, free: 7.402 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.693e-06/1.321, allocations: 3.938 kB / 1.423 GB, free: 7.398 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.7e-05/1.321, allocations: 0 / 1.423 GB, free: 7.398 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002233/1.324, allocations: 0.7625 MB / 1.424 GB, free: 6.582 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.324, allocations: 8.031 kB / 1.424 GB, free: 6.574 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.325, allocations: 160.6 kB / 1.424 GB, free: 6.418 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008216/1.326, allocations: 314.9 kB / 1.424 GB, free: 6.07 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.255e-05/1.326, allocations: 53.69 kB / 1.424 GB, free: 6.012 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/1.326, allocations: 19.95 kB / 1.424 GB, free: 5.992 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/1.327, allocations: 212.6 kB / 1.424 GB, free: 5.77 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.327, allocations: 0 / 1.424 GB, free: 5.77 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/1.327, allocations: 7.984 kB / 1.424 GB, free: 5.762 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.327, allocations: 4 kB / 1.424 GB, free: 5.758 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/1.327, allocations: 121.5 kB / 1.424 GB, free: 5.641 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/1.33, allocations: 0.9888 MB / 1.425 GB, free: 4.594 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/1.331, allocations: 150.4 kB / 1.426 GB, free: 4.438 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/1.331, allocations: 88.75 kB / 1.426 GB, free: 4.348 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/1.331, allocations: 0 / 1.426 GB, free: 4.348 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004225/1.331, allocations: 201.1 kB / 1.426 GB, free: 4.133 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/1.331, allocations: 0 / 1.426 GB, free: 4.133 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.004362/1.336, allocations: 0.8634 MB / 1.427 GB, free: 3.234 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/1.336, allocations: 85.05 kB / 1.427 GB, free: 3.133 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/1.336, allocations: 340.5 kB / 1.427 GB, free: 2.785 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/1.336, allocations: 33.7 kB / 1.427 GB, free: 2.746 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/1.337, allocations: 152.6 kB / 1.427 GB, free: 2.594 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/1.337, allocations: 51.58 kB / 1.427 GB, free: 2.543 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.337, allocations: 89.89 kB / 1.427 GB, free: 2.445 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.337, allocations: 350.7 kB / 1.428 GB, free: 2.094 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/1.337, allocations: 136.5 kB / 1.428 GB, free: 1.961 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/1.338, allocations: 217.9 kB / 1.428 GB, free: 1.734 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/1.339, allocations: 336.9 kB / 1.428 GB, free: 1.379 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.339, allocations: 0 / 1.428 GB, free: 1.379 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003683/1.342, allocations: 0.8609 MB / 1.429 GB, free: 0.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/1.342, allocations: 37.69 kB / 1.429 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.342, allocations: 0 / 1.429 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009508/1.343, allocations: 197.7 kB / 1.429 GB, free: 264 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/1.344, allocations: 39.91 kB / 1.429 GB, free: 224 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/1.347, allocations: 2.338 MB / 1.432 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/1.347, allocations: 47.66 kB / 1.432 GB, free: 13.67 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/1.348, allocations: 19.98 kB / 1.432 GB, free: 13.65 MB / 1.139 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003257/1.348, allocations: 187.5 kB / 1.432 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/1.348, allocations: 35.8 kB / 1.432 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/1.348, allocations: 27.12 kB / 1.432 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.348, allocations: 4 kB / 1.432 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.348, allocations: 3.984 kB / 1.432 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.348, allocations: 3.938 kB / 1.432 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/1.351, allocations: 1.038 MB / 1.433 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.351, allocations: 0 / 1.433 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/1.352, allocations: 7.984 kB / 1.433 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/1.352, allocations: 112.8 kB / 1.433 GB, free: 12.15 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/1.352, allocations: 15.92 kB / 1.433 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009908/1.353, allocations: 0.746 MB / 1.434 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.353, allocations: 0 / 1.434 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/1.356, allocations: 0.8703 MB / 1.435 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/1.356, allocations: 140.8 kB / 1.435 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/1.356, allocations: 4 kB / 1.435 GB, free: 10.31 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/1.357, allocations: 23.91 kB / 1.435 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/1.357, allocations: 15.92 kB / 1.435 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/1.357, allocations: 20.05 kB / 1.435 GB, free: 10.25 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003731/1.357, allocations: 235 kB / 1.435 GB, free: 10.03 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.357, allocations: 0 / 1.435 GB, free: 10.03 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006495/1.358, allocations: 111.9 kB / 1.435 GB, free: 9.918 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005026/1.358, allocations: 190.6 kB / 1.435 GB, free: 9.723 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001832/1.36, allocations: 0.5183 MB / 1.436 GB, free: 9.176 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.36, allocations: 0 / 1.436 GB, free: 9.176 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007565/1.361, allocations: 230.5 kB / 1.436 GB, free: 8.938 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/1.362, allocations: 65.64 kB / 1.436 GB, free: 8.871 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/1.363, allocations: 0.6224 MB / 1.437 GB, free: 8.227 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/1.364, allocations: 0.7599 MB / 1.438 GB, free: 7.441 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002174/1.364, allocations: 30.3 kB / 1.438 GB, free: 7.414 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/1.364, allocations: 23.42 kB / 1.438 GB, free: 7.395 MB / 1.139 GB Notification: Performance of SimCode: time 1.412e-06/1.364, allocations: 0 / 1.438 GB, free: 7.395 MB / 1.139 GB Notification: Performance of Templates: time 0.01687/1.381, allocations: 7.273 MB / 1.445 GB, free: 188 kB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.09046533331275]