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.002582/0.002582, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.00319/0.00319, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.677/1.677, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.066/3.066, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/3.851e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.007245/0.007284, allocations: 2.4 MB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2357/0.2429, allocations: 146.6 MB / 0.9563 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.2432, allocations: 0 / 0.9563 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.2437, allocations: 87.39 kB / 0.9564 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00099/0.2447, allocations: 254.3 kB / 0.9567 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.2466, allocations: 0.6579 MB / 0.9573 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008018/0.2474, allocations: 450.3 kB / 0.9577 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.2476, allocations: 32.91 kB / 0.9578 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005694/0.2482, allocations: 247.5 kB / 0.958 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.2486, allocations: 171.6 kB / 0.9582 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.2487, allocations: 32 kB / 0.9582 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.2503, allocations: 0.6119 MB / 0.9588 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2505, allocations: 79.72 kB / 0.9589 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.2507, allocations: 115.7 kB / 0.959 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.2524, allocations: 0.74 MB / 0.9597 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2524, allocations: 0 / 0.9597 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2524, allocations: 0 / 0.9597 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.2525, allocations: 0 / 0.9597 GB, free: 9.148 MB / 0.9167 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.002132/0.2546, allocations: 0.8155 MB / 0.9605 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2546, allocations: 8.031 kB / 0.9605 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.2566, allocations: 200.4 kB / 0.9607 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.2572, allocations: 264.6 kB / 0.961 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.2573, allocations: 53.58 kB / 0.961 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/0.2573, allocations: 23.94 kB / 0.961 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.2578, allocations: 226.3 kB / 0.9612 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2578, allocations: 0 / 0.9612 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.2579, allocations: 7.984 kB / 0.9612 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2579, allocations: 8 kB / 0.9613 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.2582, allocations: 125.8 kB / 0.9614 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.2611, allocations: 1.024 MB / 0.9624 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000896/0.262, allocations: 180.7 kB / 0.9625 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.2622, allocations: 97.36 kB / 0.9626 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.2622, allocations: 7.938 kB / 0.9626 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007162/0.263, allocations: 212.3 kB / 0.9629 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.263, allocations: 0 / 0.9629 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.00438/0.2673, allocations: 0.7708 MB / 0.9636 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.2674, allocations: 85.11 kB / 0.9637 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.268, allocations: 402.3 kB / 0.9641 GB, free: 4.402 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.268, allocations: 29.7 kB / 0.9641 GB, free: 4.367 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.2682, allocations: 211.6 kB / 0.9643 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/0.2683, allocations: 63.48 kB / 0.9644 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.2685, allocations: 99.59 kB / 0.9645 GB, free: 3.984 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003369/0.2689, allocations: 0.5235 MB / 0.965 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.2693, allocations: 158.2 kB / 0.9651 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.2698, allocations: 332 kB / 0.9654 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.2705, allocations: 336.2 kB / 0.9658 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2705, allocations: 0 / 0.9658 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003982/0.2745, allocations: 0.8485 MB / 0.9666 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.2746, allocations: 41.69 kB / 0.9666 GB, free: 1.633 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2746, allocations: 0 / 0.9666 GB, free: 1.633 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.276, allocations: 243.2 kB / 0.9669 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.2762, allocations: 44 kB / 0.9669 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/0.2807, allocations: 3.049 MB / 0.9699 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.2812, allocations: 31.78 kB / 0.9699 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.2813, allocations: 28 kB / 0.9699 GB, free: 14.08 MB / 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.0003845/0.2817, allocations: 230.1 kB / 0.9701 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.2818, allocations: 39.81 kB / 0.9702 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.2819, allocations: 22.25 kB / 0.9702 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2819, allocations: 0 / 0.9702 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2819, allocations: 7.938 kB / 0.9702 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2819, allocations: 192 / 0.9702 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/0.2854, allocations: 1.003 MB / 0.9712 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2854, allocations: 0 / 0.9712 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.2854, allocations: 4 kB / 0.9712 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/0.2857, allocations: 115.6 kB / 0.9713 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.2858, allocations: 11.98 kB / 0.9713 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.287, allocations: 1.05 MB / 0.9723 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.287, allocations: 3.938 kB / 0.9723 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.2903, allocations: 0.9081 MB / 0.9732 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.2905, allocations: 59.7 kB / 0.9733 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.2906, allocations: 8 kB / 0.9733 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.2908, allocations: 11.92 kB / 0.9733 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.2909, allocations: 11.98 kB / 0.9733 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.2909, allocations: 11.98 kB / 0.9733 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003589/0.2913, allocations: 267 kB / 0.9736 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2913, allocations: 0 / 0.9736 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006325/0.2919, allocations: 111.9 kB / 0.9737 GB, free: 10.07 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.0004779/0.2924, allocations: 199.5 kB / 0.9739 GB, free: 9.871 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.2943, allocations: 0.6441 MB / 0.9745 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2943, allocations: 0 / 0.9745 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008067/0.2951, allocations: 264.4 kB / 0.9748 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.2956, allocations: 60.59 kB / 0.9748 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2972, allocations: 0.6009 MB / 0.9754 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.2974, allocations: 151.1 kB / 0.9756 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.2976, allocations: 21.95 kB / 0.9756 GB, free: 8.016 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.2977, allocations: 28.48 kB / 0.9756 GB, free: 7.988 MB / 0.9323 GB Notification: Performance of SimCode: time 1.172e-06/0.2977, allocations: 0 / 0.9756 GB, free: 7.988 MB / 0.9323 GB Notification: Performance of Templates: time 0.01714/0.3148, allocations: 7.774 MB / 0.9832 GB, free: 336 kB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] 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/jenkins/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: 9.293594566057436]