Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001381/0.001381, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001415/0.001415, allocations: 186 kB / 20.78 MB, free: 1.547 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.456/1.456, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 443.4 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.89 kB / 1.059 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4255, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004755/0.4303, allocations: 2.426 MB / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.11/1.54, allocations: 151.5 MB / 1.366 GB, free: 4.012 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004402/1.541, allocations: 6.594 kB / 1.366 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007024/1.541, allocations: 90.62 kB / 1.367 GB, free: 3.969 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/1.543, allocations: 244 kB / 1.367 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/1.546, allocations: 0.6665 MB / 1.367 GB, free: 3.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001125/1.547, allocations: 439.8 kB / 1.368 GB, free: 3.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/1.547, allocations: 35.38 kB / 1.368 GB, free: 3.309 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/1.548, allocations: 182.7 kB / 1.368 GB, free: 3.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/1.548, allocations: 210.5 kB / 1.368 GB, free: 3.156 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.832e-05/1.548, allocations: 30.38 kB / 1.368 GB, free: 3.156 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/1.551, allocations: 0.6383 MB / 1.369 GB, free: 2.961 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/1.551, allocations: 85.06 kB / 1.369 GB, free: 2.914 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/1.551, allocations: 160.8 kB / 1.369 GB, free: 2.82 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001667/1.553, allocations: 0.6604 MB / 1.37 GB, free: 2.594 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.553, allocations: 4 kB / 1.37 GB, free: 2.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.082e-06/1.553, allocations: 1.25 kB / 1.37 GB, free: 2.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.658e-06/1.553, allocations: 0 / 1.37 GB, free: 2.59 MB / 1.045 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.001919/1.555, allocations: 0.7526 MB / 1.371 GB, free: 2.004 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.555, allocations: 13.66 kB / 1.371 GB, free: 2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/1.557, allocations: 158.7 kB / 1.371 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007278/1.557, allocations: 322.9 kB / 1.371 GB, free: 1.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/1.557, allocations: 48.31 kB / 1.371 GB, free: 1.664 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/1.557, allocations: 21.84 kB / 1.371 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/1.558, allocations: 198.9 kB / 1.371 GB, free: 1.559 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.558, allocations: 0 / 1.371 GB, free: 1.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/1.558, allocations: 5.438 kB / 1.371 GB, free: 1.555 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.558, allocations: 7.875 kB / 1.371 GB, free: 1.551 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/1.558, allocations: 122.4 kB / 1.371 GB, free: 1.512 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/1.561, allocations: 0.9875 MB / 1.372 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/1.562, allocations: 159.8 kB / 1.372 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/1.562, allocations: 84.34 kB / 1.373 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/1.562, allocations: 5.219 kB / 1.373 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/1.563, allocations: 192.7 kB / 1.373 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.654e-06/1.563, allocations: 0 / 1.373 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.004262/1.567, allocations: 0.8616 MB / 1.374 GB, free: 348 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/1.567, allocations: 84.45 kB / 1.374 GB, free: 248 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/1.567, allocations: 340.2 kB / 1.374 GB, free: 56 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/1.568, allocations: 37.36 kB / 1.374 GB, free: 16 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/1.568, allocations: 152.8 kB / 1.374 GB, free: 15.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/1.568, allocations: 57.33 kB / 1.374 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/1.568, allocations: 79.11 kB / 1.374 GB, free: 15.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002066/1.568, allocations: 349.5 kB / 1.375 GB, free: 15.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/1.569, allocations: 133.7 kB / 1.375 GB, free: 15.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/1.569, allocations: 218.5 kB / 1.375 GB, free: 15.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/1.57, allocations: 344.5 kB / 1.375 GB, free: 15.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.57, allocations: 1.25 kB / 1.375 GB, free: 15.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00383/1.574, allocations: 0.8551 MB / 1.376 GB, free: 14.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/1.574, allocations: 34.98 kB / 1.376 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.574, allocations: 1.219 kB / 1.376 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009844/1.575, allocations: 199 kB / 1.376 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/1.575, allocations: 39 kB / 1.376 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/1.579, allocations: 2.351 MB / 1.379 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/1.579, allocations: 52.41 kB / 1.379 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/1.579, allocations: 23.48 kB / 1.379 GB, free: 12.54 MB / 1.061 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.0003241/1.58, allocations: 180.5 kB / 1.379 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/1.58, allocations: 31.28 kB / 1.379 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/1.58, allocations: 30.78 kB / 1.379 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.58, allocations: 2.25 kB / 1.379 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.58, allocations: 0 / 1.379 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.58, allocations: 11.89 kB / 1.379 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/1.583, allocations: 1.03 MB / 1.38 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.583, allocations: 0.75 kB / 1.38 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/1.583, allocations: 12.38 kB / 1.38 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/1.584, allocations: 114.1 kB / 1.38 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/1.584, allocations: 14.23 kB / 1.38 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/1.585, allocations: 0.7462 MB / 1.381 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.585, allocations: 0 / 1.381 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/1.588, allocations: 0.8761 MB / 1.382 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/1.588, allocations: 139 kB / 1.382 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/1.588, allocations: 8.266 kB / 1.382 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/1.589, allocations: 18.64 kB / 1.382 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/1.589, allocations: 9.422 kB / 1.382 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/1.589, allocations: 13.48 kB / 1.382 GB, free: 10.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003981/1.589, allocations: 237.5 kB / 1.382 GB, free: 10.33 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.589, allocations: 1.188 kB / 1.382 GB, free: 10.33 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007322/1.59, allocations: 114.7 kB / 1.382 GB, free: 10.31 MB / 1.061 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.0004663/1.59, allocations: 185.6 kB / 1.382 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.592, allocations: 0.5299 MB / 1.383 GB, free: 9.832 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.592, allocations: 0 / 1.383 GB, free: 9.832 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007635/1.593, allocations: 219.5 kB / 1.383 GB, free: 9.691 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/1.593, allocations: 77.27 kB / 1.383 GB, free: 9.648 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/1.595, allocations: 0.634 MB / 1.384 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/1.596, allocations: 0.7622 MB / 1.385 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001667/1.596, allocations: 24.36 kB / 1.385 GB, free: 8.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/1.596, allocations: 23.92 kB / 1.385 GB, free: 8.473 MB / 1.061 GB Notification: Performance of SimCode: time 1.382e-06/1.596, allocations: 0 / 1.385 GB, free: 8.473 MB / 1.061 GB Notification: Performance of Templates: time 0.01561/1.611, allocations: 7.345 MB / 1.392 GB, free: 4.789 MB / 1.061 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.833999557420611]