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.00189/0.00189, 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.002213/0.002213, allocations: 200.7 kB / 22.17 MB, free: 5.211 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.604/1.604, 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.76/2.76, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.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.00213/0.00213, allocations: 72.12 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8769, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004894/0.8818, allocations: 2.421 MB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1853/1.067, allocations: 151.5 MB / 1.424 GB, free: 10.1 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/1.067, allocations: 4 kB / 1.424 GB, free: 10.1 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003832/1.068, allocations: 99.36 kB / 1.424 GB, free: 10 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0007325/1.068, allocations: 242.5 kB / 1.425 GB, free: 9.762 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/1.07, allocations: 0.6634 MB / 1.425 GB, free: 9.105 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006128/1.071, allocations: 442.6 kB / 1.426 GB, free: 8.672 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/1.071, allocations: 24.75 kB / 1.426 GB, free: 8.648 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/1.071, allocations: 191.4 kB / 1.426 GB, free: 8.461 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/1.072, allocations: 207.3 kB / 1.426 GB, free: 8.258 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/1.072, allocations: 28 kB / 1.426 GB, free: 8.23 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/1.073, allocations: 0.6394 MB / 1.427 GB, free: 7.59 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/1.073, allocations: 87.72 kB / 1.427 GB, free: 7.504 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/1.073, allocations: 163.2 kB / 1.427 GB, free: 7.344 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/1.075, allocations: 0.6569 MB / 1.428 GB, free: 6.688 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.075, allocations: 3.938 kB / 1.428 GB, free: 6.684 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.473e-06/1.075, allocations: 0 / 1.428 GB, free: 6.684 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.067e-06/1.075, allocations: 3.938 kB / 1.428 GB, free: 6.68 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.001794/1.076, allocations: 0.769 MB / 1.428 GB, free: 5.852 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.076, allocations: 8.031 kB / 1.428 GB, free: 5.844 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/1.078, allocations: 164.5 kB / 1.429 GB, free: 5.684 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/1.079, allocations: 314.9 kB / 1.429 GB, free: 5.336 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/1.079, allocations: 49.7 kB / 1.429 GB, free: 5.281 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/1.079, allocations: 23.95 kB / 1.429 GB, free: 5.258 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/1.079, allocations: 208.1 kB / 1.429 GB, free: 5.039 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.079, allocations: 4 kB / 1.429 GB, free: 5.035 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/1.079, allocations: 8 kB / 1.429 GB, free: 5.027 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.079, allocations: 0 / 1.429 GB, free: 5.027 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/1.08, allocations: 124.1 kB / 1.429 GB, free: 4.906 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/1.082, allocations: 0.9926 MB / 1.43 GB, free: 3.855 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/1.083, allocations: 154.4 kB / 1.43 GB, free: 3.695 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/1.083, allocations: 88.75 kB / 1.431 GB, free: 3.605 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/1.083, allocations: 0 / 1.431 GB, free: 3.605 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003947/1.084, allocations: 189.1 kB / 1.431 GB, free: 3.402 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/1.084, allocations: 4 kB / 1.431 GB, free: 3.398 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.004472/1.088, allocations: 0.8733 MB / 1.432 GB, free: 2.492 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/1.088, allocations: 81.11 kB / 1.432 GB, free: 2.395 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/1.089, allocations: 344.5 kB / 1.432 GB, free: 2.051 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/1.089, allocations: 33.7 kB / 1.432 GB, free: 2.012 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/1.089, allocations: 152.6 kB / 1.432 GB, free: 1.859 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/1.089, allocations: 59.52 kB / 1.432 GB, free: 1.801 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/1.089, allocations: 81.89 kB / 1.432 GB, free: 1.711 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.089, allocations: 350.7 kB / 1.433 GB, free: 1.359 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/1.09, allocations: 136.5 kB / 1.433 GB, free: 1.227 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/1.09, allocations: 217.3 kB / 1.433 GB, free: 1 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/1.091, allocations: 340.7 kB / 1.433 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.091, allocations: 0 / 1.433 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00387/1.095, allocations: 0.8577 MB / 1.434 GB, free: 15.77 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/1.095, allocations: 41.69 kB / 1.434 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.095, allocations: 4 kB / 1.434 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000943/1.096, allocations: 197.6 kB / 1.434 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/1.096, allocations: 39.91 kB / 1.434 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/1.099, allocations: 2.343 MB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/1.1, allocations: 55.66 kB / 1.437 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/1.1, allocations: 15.98 kB / 1.437 GB, free: 12.89 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.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.nextEventScaled,$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.000361/1.1, allocations: 188.5 kB / 1.437 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/1.1, allocations: 31.81 kB / 1.437 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/1.1, allocations: 27.17 kB / 1.437 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.1, allocations: 4 kB / 1.437 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.1, allocations: 0 / 1.437 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.1, allocations: 3.938 kB / 1.437 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/1.104, allocations: 1.043 MB / 1.438 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.104, allocations: 0 / 1.438 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/1.104, allocations: 4 kB / 1.438 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003403/1.104, allocations: 116.9 kB / 1.438 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/1.105, allocations: 11.92 kB / 1.438 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/1.106, allocations: 0.746 MB / 1.439 GB, free: 10.61 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.106, allocations: 0 / 1.439 GB, free: 10.61 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/1.109, allocations: 0.8822 MB / 1.44 GB, free: 9.707 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/1.109, allocations: 132.8 kB / 1.44 GB, free: 9.559 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.84e-05/1.109, allocations: 8 kB / 1.44 GB, free: 9.551 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/1.109, allocations: 15.92 kB / 1.44 GB, free: 9.535 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/1.109, allocations: 11.98 kB / 1.44 GB, free: 9.523 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/1.109, allocations: 7.984 kB / 1.44 GB, free: 9.516 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003498/1.11, allocations: 239 kB / 1.44 GB, free: 9.285 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.11, allocations: 8 kB / 1.44 GB, free: 9.277 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005843/1.11, allocations: 111.9 kB / 1.44 GB, free: 9.168 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (int.y,eva.m) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,mAir_flow.nextEventScaled,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,eva.off) * 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.0004286/1.111, allocations: 183.6 kB / 1.44 GB, free: 8.98 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.113, allocations: 0.5222 MB / 1.441 GB, free: 8.43 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.113, allocations: 0 / 1.441 GB, free: 8.43 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007457/1.113, allocations: 227 kB / 1.441 GB, free: 8.195 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/1.114, allocations: 71.19 kB / 1.441 GB, free: 8.121 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/1.115, allocations: 0.6246 MB / 1.442 GB, free: 7.48 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/1.116, allocations: 0.7599 MB / 1.443 GB, free: 6.695 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001395/1.116, allocations: 26.3 kB / 1.443 GB, free: 6.668 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/1.116, allocations: 23.42 kB / 1.443 GB, free: 6.648 MB / 1.139 GB Notification: Performance of SimCode: time 4.41e-07/1.116, allocations: 0 / 1.443 GB, free: 6.648 MB / 1.139 GB Notification: Performance of Templates: time 0.01425/1.13, allocations: 7.379 MB / 1.45 GB, free: 15.33 MB / 1.154 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.573465649038553]