Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002078/0.002078, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.002596/0.002596, allocations: 165.3 kB / 22.76 MB, free: 1.648 MB / 18.57 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.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.316/3.316, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.8776 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.888e-05/4.119e-05, allocations: 6.75 kB / 0.8776 GB, free: 5.262 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.005132/0.005173, allocations: 2.315 MB / 0.8799 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.2251/0.2302, allocations: 132.7 MB / 1.01 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.2306, allocations: 7.938 kB / 1.01 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0004814/0.2311, allocations: 95.39 kB / 1.01 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.2323, allocations: 250.4 kB / 1.01 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.2346, allocations: 0.6579 MB / 1.011 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0009247/0.2355, allocations: 454.3 kB / 1.011 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2356, allocations: 28.92 kB / 1.011 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.2363, allocations: 251.5 kB / 1.011 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005471/0.2368, allocations: 175.6 kB / 1.011 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.237, allocations: 31.94 kB / 1.011 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.2387, allocations: 0.6002 MB / 1.012 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.2389, allocations: 83.72 kB / 1.012 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.2392, allocations: 119.7 kB / 1.012 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.2412, allocations: 0.7516 MB / 1.013 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.2412, allocations: 0 / 1.013 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.168e-06/0.2412, allocations: 4 kB / 1.013 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.2412, allocations: 0 / 1.013 GB, free: 10.25 MB / 0.9323 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.002267/0.2435, allocations: 0.6974 MB / 1.014 GB, free: 9.512 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.2436, allocations: 12.03 kB / 1.014 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.2457, allocations: 200.5 kB / 1.014 GB, free: 9.305 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.2465, allocations: 257.7 kB / 1.014 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/0.2466, allocations: 53.62 kB / 1.014 GB, free: 8.969 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.2467, allocations: 20 kB / 1.014 GB, free: 8.949 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008737/0.2475, allocations: 246.6 kB / 1.014 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2475, allocations: 0 / 1.014 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.2476, allocations: 4 kB / 1.014 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.2476, allocations: 4 kB / 1.014 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.2479, allocations: 153.8 kB / 1.015 GB, free: 8.523 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.2509, allocations: 0.8481 MB / 1.015 GB, free: 7.637 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009276/0.2518, allocations: 180.2 kB / 1.016 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.2521, allocations: 114.5 kB / 1.016 GB, free: 7.324 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.2521, allocations: 7.938 kB / 1.016 GB, free: 7.316 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.2526, allocations: 222.6 kB / 1.016 GB, free: 7.074 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 2.264e-06/0.2526, allocations: 0 / 1.016 GB, free: 7.074 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.005241/0.2578, allocations: 0.8755 MB / 1.017 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.2579, allocations: 85.11 kB / 1.017 GB, free: 6.07 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.2585, allocations: 324.4 kB / 1.017 GB, free: 5.738 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-05/0.2586, allocations: 33.7 kB / 1.017 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.2587, allocations: 152.9 kB / 1.017 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.2588, allocations: 63.48 kB / 1.017 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.259, allocations: 85.94 kB / 1.017 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.2593, allocations: 342.8 kB / 1.018 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.2597, allocations: 170.2 kB / 1.018 GB, free: 4.875 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.2603, allocations: 357.9 kB / 1.018 GB, free: 4.48 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.2612, allocations: 344.6 kB / 1.019 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2612, allocations: 0 / 1.019 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004502/0.2657, allocations: 0.9263 MB / 1.019 GB, free: 3.168 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/0.2657, allocations: 39.72 kB / 1.02 GB, free: 3.125 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2657, allocations: 0 / 1.02 GB, free: 3.125 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.2672, allocations: 241.6 kB / 1.02 GB, free: 2.883 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.2675, allocations: 39.91 kB / 1.02 GB, free: 2.844 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.2716, allocations: 2.216 MB / 1.022 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.2722, allocations: 43.72 kB / 1.022 GB, free: 468 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/0.2723, allocations: 19.98 kB / 1.022 GB, free: 448 kB / 0.9323 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.0003604/0.2726, allocations: 199.4 kB / 1.022 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.2727, allocations: 39.81 kB / 1.022 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.2728, allocations: 22.2 kB / 1.022 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2728, allocations: 4 kB / 1.022 GB, free: 160 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2728, allocations: 3.984 kB / 1.022 GB, free: 156 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2728, allocations: 0 / 1.022 GB, free: 156 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6096/0.8824, allocations: 0.9813 MB / 1.023 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8824, allocations: 2.75 kB / 1.023 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.8825, allocations: 10.94 kB / 1.023 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.8829, allocations: 112.4 kB / 1.023 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.8829, allocations: 10.31 kB / 1.023 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009542/0.8839, allocations: 0.7466 MB / 1.024 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8839, allocations: 1.781 kB / 1.024 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003797/0.8877, allocations: 0.9595 MB / 1.025 GB, free: 160 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.8879, allocations: 56.55 kB / 1.025 GB, free: 160 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.8879, allocations: 10.02 kB / 1.025 GB, free: 160 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.8882, allocations: 11.56 kB / 1.025 GB, free: 160 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.8883, allocations: 13.62 kB / 1.025 GB, free: 160 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.8883, allocations: 8.531 kB / 1.025 GB, free: 160 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003516/0.8887, allocations: 224.4 kB / 1.025 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.8887, allocations: 1.547 kB / 1.025 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007907/0.8895, allocations: 121.6 kB / 1.025 GB, free: 159.9 MB / 0.9323 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.0004956/0.89, allocations: 192.4 kB / 1.026 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.8917, allocations: 0.599 MB / 1.026 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8918, allocations: 0.5 kB / 1.026 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008052/0.8926, allocations: 257.8 kB / 1.026 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.8931, allocations: 72.19 kB / 1.027 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.8948, allocations: 0.6227 MB / 1.027 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.8951, allocations: 155.7 kB / 1.027 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000152/0.8952, allocations: 26.77 kB / 1.027 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.8953, allocations: 26.97 kB / 1.027 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.122e-06/0.8953, allocations: 0 / 1.027 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.01928/0.9146, allocations: 7.786 MB / 1.035 GB, free: 158.1 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.943035858916119]