Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002616/0.002616, allocations: 214.4 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.719/1.719, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.191/3.191, allocations: 0.49 GB / 0.7958 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 62.94 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.38, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00414/0.3842, allocations: 2.436 MB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2068/0.591, allocations: 154.3 MB / 1.48 GB, free: 4.051 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.5912, allocations: 3.938 kB / 1.48 GB, free: 4.047 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.5916, allocations: 99.42 kB / 1.48 GB, free: 3.949 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.5923, allocations: 238.6 kB / 1.481 GB, free: 3.715 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.5941, allocations: 0.6774 MB / 1.481 GB, free: 3.047 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.5947, allocations: 434.5 kB / 1.482 GB, free: 2.621 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.5948, allocations: 32.92 kB / 1.482 GB, free: 2.59 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.5951, allocations: 187.4 kB / 1.482 GB, free: 2.406 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.5955, allocations: 207.3 kB / 1.482 GB, free: 2.203 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.5955, allocations: 36 kB / 1.482 GB, free: 2.168 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.5968, allocations: 0.6707 MB / 1.483 GB, free: 1.496 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.5969, allocations: 83.72 kB / 1.483 GB, free: 1.414 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.5971, allocations: 159.2 kB / 1.483 GB, free: 1.258 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.5981, allocations: 0.6735 MB / 1.484 GB, free: 0.582 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5981, allocations: 0 / 1.484 GB, free: 0.582 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5982, allocations: 0 / 1.484 GB, free: 0.582 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.5982, allocations: 0 / 1.484 GB, free: 0.582 MB / 1.17 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.001701/0.5999, allocations: 0.7092 MB / 1.484 GB, free: 15.83 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.5999, allocations: 8.031 kB / 1.484 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.6018, allocations: 184.5 kB / 1.485 GB, free: 15.64 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.6024, allocations: 265.6 kB / 1.485 GB, free: 15.36 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.6024, allocations: 45.7 kB / 1.485 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.6025, allocations: 20 kB / 1.485 GB, free: 15.29 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.603, allocations: 212 kB / 1.485 GB, free: 15.06 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.603, allocations: 0 / 1.485 GB, free: 15.06 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.603, allocations: 4 kB / 1.485 GB, free: 15.06 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.603, allocations: 4 kB / 1.485 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.6033, allocations: 124.9 kB / 1.485 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.606, allocations: 0.9605 MB / 1.486 GB, free: 13.92 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/0.6068, allocations: 146.4 kB / 1.486 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.607, allocations: 88.81 kB / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.607, allocations: 4 kB / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.6074, allocations: 188.9 kB / 1.487 GB, free: 13.47 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.6074, allocations: 0 / 1.487 GB, free: 13.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.004561/0.612, allocations: 0.8055 MB / 1.487 GB, free: 12.65 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.612, allocations: 89.05 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.6125, allocations: 336.5 kB / 1.488 GB, free: 12.21 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.6125, allocations: 33.7 kB / 1.488 GB, free: 12.17 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.6127, allocations: 160.6 kB / 1.488 GB, free: 12.01 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.6128, allocations: 55.55 kB / 1.488 GB, free: 11.95 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.6129, allocations: 89.92 kB / 1.488 GB, free: 11.86 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6131, allocations: 342.8 kB / 1.488 GB, free: 11.51 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.6134, allocations: 140.5 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.6139, allocations: 217.4 kB / 1.489 GB, free: 11.15 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.6145, allocations: 340.9 kB / 1.489 GB, free: 10.79 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6145, allocations: 4 kB / 1.489 GB, free: 10.79 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003811/0.6183, allocations: 0.857 MB / 1.49 GB, free: 9.91 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.6184, allocations: 45.75 kB / 1.49 GB, free: 9.859 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.6184, allocations: 4 kB / 1.49 GB, free: 9.855 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009558/0.6194, allocations: 185.6 kB / 1.49 GB, free: 9.668 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.6196, allocations: 55.91 kB / 1.49 GB, free: 9.613 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.6228, allocations: 2.234 MB / 1.492 GB, free: 7.238 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.6232, allocations: 47.7 kB / 1.492 GB, free: 7.191 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.6233, allocations: 23.97 kB / 1.492 GB, free: 7.168 MB / 1.186 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.0002606/0.6235, allocations: 189.2 kB / 1.493 GB, free: 6.969 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.6236, allocations: 35.77 kB / 1.493 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.6236, allocations: 27.11 kB / 1.493 GB, free: 6.906 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6236, allocations: 0 / 1.493 GB, free: 6.906 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.6236, allocations: 0 / 1.493 GB, free: 6.906 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6236, allocations: 3.938 kB / 1.493 GB, free: 6.902 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.6271, allocations: 1.024 MB / 1.494 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6271, allocations: 4 kB / 1.494 GB, free: 5.816 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.6271, allocations: 4 kB / 1.494 GB, free: 5.812 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003205/0.6274, allocations: 116.8 kB / 1.494 GB, free: 5.695 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.6275, allocations: 7.938 kB / 1.494 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009612/0.6284, allocations: 0.7499 MB / 1.495 GB, free: 4.914 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6284, allocations: 0 / 1.495 GB, free: 4.914 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/0.6318, allocations: 0.8801 MB / 1.495 GB, free: 4.008 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.6319, allocations: 55.8 kB / 1.495 GB, free: 3.953 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.632, allocations: 12.05 kB / 1.495 GB, free: 3.941 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.6322, allocations: 15.94 kB / 1.495 GB, free: 3.926 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.6323, allocations: 15.97 kB / 1.495 GB, free: 3.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.6323, allocations: 4 kB / 1.495 GB, free: 3.906 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003289/0.6327, allocations: 243 kB / 1.496 GB, free: 3.672 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6327, allocations: 0 / 1.496 GB, free: 3.672 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005422/0.6332, allocations: 115.8 kB / 1.496 GB, free: 3.559 MB / 1.186 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.0003832/0.6336, allocations: 199.3 kB / 1.496 GB, free: 3.352 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.6352, allocations: 0.5315 MB / 1.497 GB, free: 2.793 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6352, allocations: 4.062 kB / 1.497 GB, free: 2.789 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007633/0.636, allocations: 227.7 kB / 1.497 GB, free: 2.555 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.6364, allocations: 56.94 kB / 1.497 GB, free: 2.496 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.638, allocations: 0.6653 MB / 1.497 GB, free: 1.809 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.6384, allocations: 0.7638 MB / 1.498 GB, free: 1.02 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.6384, allocations: 19.44 kB / 1.498 GB, free: 1 MB / 1.186 GB Notification: Performance of SimCode: time 3.31e-07/0.6384, allocations: 0 / 1.498 GB, free: 1 MB / 1.186 GB Notification: Performance of Templates: time 0.0106/0.649, allocations: 6.614 MB / 1.505 GB, free: 10.41 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.433287288993597]