Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001603/0.001603, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002075/0.002075, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.853/2.853, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.532e-05, allocations: 4.953 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004621/0.004656, allocations: 2.306 MB / 0.9533 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2285/0.2331, allocations: 132.7 MB / 1.083 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.2334, allocations: 0 / 1.083 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.2338, allocations: 91.39 kB / 1.083 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009211/0.2348, allocations: 254.3 kB / 1.083 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.2368, allocations: 0.67 MB / 1.084 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006809/0.2375, allocations: 446.4 kB / 1.084 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2377, allocations: 36.91 kB / 1.084 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.2382, allocations: 255.4 kB / 1.085 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.2385, allocations: 163.6 kB / 1.085 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.101e-05/0.2386, allocations: 32 kB / 1.085 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.2399, allocations: 0.6041 MB / 1.085 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.2401, allocations: 83.72 kB / 1.085 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.2403, allocations: 115.7 kB / 1.086 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2416, allocations: 0.7517 MB / 1.086 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2416, allocations: 0 / 1.086 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2416, allocations: 0 / 1.086 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.2416, allocations: 0 / 1.086 GB, free: 0.5234 MB / 0.9825 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.001912/0.2435, allocations: 0.6975 MB / 1.087 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2435, allocations: 8.031 kB / 1.087 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.2455, allocations: 188.5 kB / 1.087 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.2462, allocations: 253.8 kB / 1.087 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.411e-05/0.2463, allocations: 49.64 kB / 1.087 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.2463, allocations: 20 kB / 1.087 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.2468, allocations: 237.8 kB / 1.088 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2469, allocations: 4 kB / 1.088 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.2469, allocations: 4 kB / 1.088 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2469, allocations: 4 kB / 1.088 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.2472, allocations: 153.8 kB / 1.088 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.2499, allocations: 0.8595 MB / 1.089 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/0.2508, allocations: 176.2 kB / 1.089 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.251, allocations: 114.5 kB / 1.089 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.2511, allocations: 3.938 kB / 1.089 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.2515, allocations: 226.7 kB / 1.089 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.2515, allocations: 0 / 1.089 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.004775/0.2563, allocations: 0.8676 MB / 1.09 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.2564, allocations: 85.09 kB / 1.09 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.2568, allocations: 320.5 kB / 1.09 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.2569, allocations: 37.69 kB / 1.09 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.2571, allocations: 152.9 kB / 1.091 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.2571, allocations: 55.55 kB / 1.091 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.2573, allocations: 85.94 kB / 1.091 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.2575, allocations: 338.8 kB / 1.091 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.2579, allocations: 166.2 kB / 1.091 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.2585, allocations: 369.7 kB / 1.092 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/0.2592, allocations: 336.6 kB / 1.092 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2593, allocations: 7.938 kB / 1.092 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004126/0.2634, allocations: 0.9058 MB / 1.093 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.2634, allocations: 33.7 kB / 1.093 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2634, allocations: 0 / 1.093 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009862/0.2644, allocations: 201.7 kB / 1.093 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.2647, allocations: 39.91 kB / 1.093 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003868/0.2685, allocations: 2.227 MB / 1.095 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.269, allocations: 43.72 kB / 1.095 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.2691, allocations: 23.97 kB / 1.095 GB, free: 6.789 MB / 0.9981 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.0003435/0.2694, allocations: 186.5 kB / 1.095 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.2695, allocations: 35.81 kB / 1.095 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.2696, allocations: 22.25 kB / 1.096 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2696, allocations: 4 kB / 1.096 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.2696, allocations: 0 / 1.096 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2696, allocations: 0 / 1.096 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.2735, allocations: 0.9939 MB / 1.096 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2735, allocations: 0 / 1.096 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.2735, allocations: 11.88 kB / 1.096 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003444/0.2739, allocations: 112.8 kB / 1.097 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.2739, allocations: 8 kB / 1.097 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.275, allocations: 0.7499 MB / 1.097 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.275, allocations: 3.938 kB / 1.097 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.2787, allocations: 0.9497 MB / 1.098 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.2788, allocations: 47.8 kB / 1.098 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.2789, allocations: 8 kB / 1.098 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.2792, allocations: 23.98 kB / 1.098 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.2793, allocations: 7.984 kB / 1.098 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.2793, allocations: 11.98 kB / 1.098 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003393/0.2796, allocations: 219.1 kB / 1.099 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.2796, allocations: 0 / 1.099 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006769/0.2803, allocations: 123.8 kB / 1.099 GB, free: 3.16 MB / 0.9981 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.0005021/0.2808, allocations: 199.9 kB / 1.099 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.2826, allocations: 0.5969 MB / 1.099 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2826, allocations: 0 / 1.099 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.2835, allocations: 261.9 kB / 1.1 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.284, allocations: 54.38 kB / 1.1 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.2857, allocations: 0.614 MB / 1.1 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.2859, allocations: 151.1 kB / 1.101 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000148/0.286, allocations: 25.94 kB / 1.101 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.2861, allocations: 24.48 kB / 1.101 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.2861, allocations: 0 / 1.101 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of Templates: time 0.6857/0.9718, allocations: 7.679 MB / 1.108 GB, free: 161.7 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.032268710434437]