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.001764/0.001764, allocations: 79.11 kB / 19.76 MB, free: 2.035 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.001997/0.001997, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.517/1.517, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.899/2.899, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002117/0.002117, allocations: 67.89 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267/1.269, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003438/1.272, allocations: 2.299 MB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2005/1.473, allocations: 132.7 MB / 1.286 GB, free: 6.371 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/1.473, allocations: 5.25 kB / 1.286 GB, free: 6.367 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004583/1.474, allocations: 91.5 kB / 1.286 GB, free: 6.328 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009017/1.475, allocations: 240.1 kB / 1.286 GB, free: 6.203 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/1.477, allocations: 0.6624 MB / 1.287 GB, free: 5.883 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006575/1.478, allocations: 432 kB / 1.287 GB, free: 5.691 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/1.478, allocations: 32.86 kB / 1.287 GB, free: 5.684 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/1.478, allocations: 189.4 kB / 1.287 GB, free: 5.609 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/1.478, allocations: 190.6 kB / 1.288 GB, free: 5.547 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/1.478, allocations: 30.16 kB / 1.288 GB, free: 5.547 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/1.48, allocations: 0.5952 MB / 1.288 GB, free: 5.375 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/1.48, allocations: 87.36 kB / 1.288 GB, free: 5.324 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002334/1.48, allocations: 140.4 kB / 1.288 GB, free: 5.25 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/1.482, allocations: 0.6627 MB / 1.289 GB, free: 5.023 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/1.482, allocations: 0 / 1.289 GB, free: 5.023 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.866e-06/1.482, allocations: 0 / 1.289 GB, free: 5.023 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.482, allocations: 0 / 1.289 GB, free: 5.023 MB / 1.139 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.001936/1.484, allocations: 0.7075 MB / 1.29 GB, free: 4.504 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.484, allocations: 10.5 kB / 1.29 GB, free: 4.504 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/1.486, allocations: 194.4 kB / 1.29 GB, free: 4.473 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/1.487, allocations: 256.2 kB / 1.29 GB, free: 4.27 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/1.487, allocations: 46 kB / 1.29 GB, free: 4.23 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.168e-05/1.487, allocations: 17.95 kB / 1.29 GB, free: 4.227 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/1.487, allocations: 241.6 kB / 1.29 GB, free: 4.086 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.487, allocations: 0 / 1.29 GB, free: 4.086 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/1.487, allocations: 10.53 kB / 1.29 GB, free: 4.078 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/1.487, allocations: 2.969 kB / 1.29 GB, free: 4.078 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/1.488, allocations: 150.4 kB / 1.291 GB, free: 4.008 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/1.491, allocations: 0.8665 MB / 1.291 GB, free: 3.449 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/1.491, allocations: 184.4 kB / 1.292 GB, free: 3.348 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/1.492, allocations: 117.2 kB / 1.292 GB, free: 3.281 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/1.492, allocations: 5.312 kB / 1.292 GB, free: 3.277 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/1.492, allocations: 220.4 kB / 1.292 GB, free: 3.133 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/1.492, allocations: 0 / 1.292 GB, free: 3.133 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.004782/1.497, allocations: 0.8663 MB / 1.293 GB, free: 2.832 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/1.497, allocations: 86.3 kB / 1.293 GB, free: 2.734 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/1.497, allocations: 320.4 kB / 1.293 GB, free: 2.559 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/1.498, allocations: 33.11 kB / 1.293 GB, free: 2.523 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/1.498, allocations: 150.7 kB / 1.293 GB, free: 2.395 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/1.498, allocations: 64.72 kB / 1.293 GB, free: 2.344 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/1.498, allocations: 84.88 kB / 1.294 GB, free: 2.301 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.498, allocations: 339.4 kB / 1.294 GB, free: 1.977 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/1.499, allocations: 176.2 kB / 1.294 GB, free: 1.891 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/1.499, allocations: 352.3 kB / 1.294 GB, free: 1.629 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/1.5, allocations: 340.4 kB / 1.295 GB, free: 1.426 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/1.5, allocations: 5.094 kB / 1.295 GB, free: 1.422 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004222/1.504, allocations: 0.899 MB / 1.296 GB, free: 1.105 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/1.504, allocations: 40.77 kB / 1.296 GB, free: 1.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.504, allocations: 1.312 kB / 1.296 GB, free: 1.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.505, allocations: 195.2 kB / 1.296 GB, free: 1.016 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/1.505, allocations: 39.17 kB / 1.296 GB, free: 1.012 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/1.509, allocations: 2.221 MB / 1.298 GB, free: 15.01 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/1.509, allocations: 44.73 kB / 1.298 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/1.509, allocations: 21.27 kB / 1.298 GB, free: 14.98 MB / 1.154 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.000299/1.51, allocations: 194 kB / 1.298 GB, free: 14.81 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/1.51, allocations: 30.77 kB / 1.298 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/1.51, allocations: 27.92 kB / 1.298 GB, free: 14.77 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.51, allocations: 1.469 kB / 1.298 GB, free: 14.77 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.51, allocations: 0.7812 kB / 1.298 GB, free: 14.77 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.51, allocations: 2.25 kB / 1.298 GB, free: 14.77 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/1.514, allocations: 1 MB / 1.299 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.514, allocations: 0 / 1.299 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/1.514, allocations: 6.5 kB / 1.299 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/1.514, allocations: 115.3 kB / 1.299 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/1.514, allocations: 8.875 kB / 1.299 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/1.515, allocations: 0.7514 MB / 1.3 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.515, allocations: 5.094 kB / 1.3 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/1.519, allocations: 0.9488 MB / 1.301 GB, free: 12.87 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/1.519, allocations: 62.27 kB / 1.301 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.727e-05/1.519, allocations: 11.31 kB / 1.301 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/1.519, allocations: 11.86 kB / 1.301 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/1.519, allocations: 7.047 kB / 1.301 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/1.519, allocations: 15.23 kB / 1.301 GB, free: 12.8 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003676/1.52, allocations: 216.8 kB / 1.301 GB, free: 12.66 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.52, allocations: 0 / 1.301 GB, free: 12.66 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007749/1.52, allocations: 121 kB / 1.301 GB, free: 12.64 MB / 1.154 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.0004718/1.521, allocations: 191.5 kB / 1.302 GB, free: 12.51 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001877/1.523, allocations: 0.5888 MB / 1.302 GB, free: 12.09 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.523, allocations: 0 / 1.302 GB, free: 12.09 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/1.524, allocations: 268.4 kB / 1.302 GB, free: 11.9 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/1.524, allocations: 55.3 kB / 1.303 GB, free: 11.87 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/1.526, allocations: 0.6492 MB / 1.303 GB, free: 11.41 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/1.526, allocations: 155.1 kB / 1.303 GB, free: 11.29 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001245/1.526, allocations: 23.98 kB / 1.303 GB, free: 11.29 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/1.526, allocations: 18.62 kB / 1.303 GB, free: 11.28 MB / 1.154 GB Notification: Performance of SimCode: time 3.1e-07/1.526, allocations: 4.719 kB / 1.303 GB, free: 11.27 MB / 1.154 GB Notification: Performance of Templates: time 0.0158/1.542, allocations: 7.748 MB / 1.311 GB, free: 7.312 MB / 1.154 GB " [Timeout remaining time 298] 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 -s ida -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: 10.341789942933246]