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.001886/0.001886, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.001978/0.001978, allocations: 157.3 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.626/1.626, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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 3.036/3.036, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 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 2.084e-06/2.084e-06, allocations: 0.875 kB / 0.7864 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.586e-05/3.794e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004668/0.004706, allocations: 2.397 MB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2248/0.2295, allocations: 146.6 MB / 0.9319 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.2298, allocations: 8 kB / 0.9319 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.2302, allocations: 87.39 kB / 0.932 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.2313, allocations: 250.3 kB / 0.9322 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.2334, allocations: 0.6656 MB / 0.9329 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000716/0.2341, allocations: 450.4 kB / 0.9333 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2342, allocations: 24.92 kB / 0.9333 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003908/0.2346, allocations: 251.5 kB / 0.9336 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.235, allocations: 175.6 kB / 0.9338 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.343e-05/0.2351, allocations: 28 kB / 0.9338 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.2364, allocations: 0.608 MB / 0.9344 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.2365, allocations: 75.73 kB / 0.9344 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.2367, allocations: 119.7 kB / 0.9346 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.238, allocations: 0.7477 MB / 0.9353 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.238, allocations: 0 / 0.9353 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.182e-06/0.238, allocations: 0 / 0.9353 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.238, allocations: 0 / 0.9353 GB, free: 3.668 MB / 0.8855 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.001835/0.2398, allocations: 0.8077 MB / 0.9361 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2398, allocations: 8.031 kB / 0.9361 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.2417, allocations: 196.5 kB / 0.9363 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.2423, allocations: 268.6 kB / 0.9365 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.2423, allocations: 45.64 kB / 0.9366 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.2424, allocations: 20 kB / 0.9366 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.2429, allocations: 234.9 kB / 0.9368 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2429, allocations: 3.938 kB / 0.9368 GB, free: 2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.2429, allocations: 4 kB / 0.9368 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2429, allocations: 4 kB / 0.9368 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.2432, allocations: 133.8 kB / 0.937 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.246, allocations: 1.013 MB / 0.9379 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.2468, allocations: 180.7 kB / 0.9381 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.247, allocations: 101.4 kB / 0.9382 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.2471, allocations: 3.938 kB / 0.9382 GB, free: 500 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.2475, allocations: 218 kB / 0.9384 GB, free: 256 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.2475, allocations: 0 / 0.9384 GB, free: 256 kB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.004781/0.2523, allocations: 0.765 MB / 0.9392 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.2524, allocations: 85.05 kB / 0.9393 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.2529, allocations: 402.3 kB / 0.9396 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/0.253, allocations: 33.7 kB / 0.9397 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.2532, allocations: 219.6 kB / 0.9399 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.2533, allocations: 59.48 kB / 0.9399 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.2535, allocations: 99.58 kB / 0.94 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003137/0.2538, allocations: 0.5274 MB / 0.9405 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.2542, allocations: 154.2 kB / 0.9407 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.2547, allocations: 336 kB / 0.941 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.2554, allocations: 326.9 kB / 0.9413 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2554, allocations: 0 / 0.9413 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003978/0.2594, allocations: 0.857 MB / 0.9422 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.2595, allocations: 43.88 kB / 0.9422 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.2595, allocations: 4 kB / 0.9422 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.2608, allocations: 231.2 kB / 0.9424 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2611, allocations: 47.91 kB / 0.9425 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/0.2652, allocations: 3.062 MB / 0.9455 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.2657, allocations: 35.77 kB / 0.9455 GB, free: 8.621 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.2658, allocations: 23.98 kB / 0.9455 GB, free: 8.598 MB / 0.9011 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.0003341/0.2661, allocations: 229.3 kB / 0.9457 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2662, allocations: 39.75 kB / 0.9458 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.2663, allocations: 26.25 kB / 0.9458 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2663, allocations: 4 kB / 0.9458 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2663, allocations: 0 / 0.9458 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2663, allocations: 0 / 0.9458 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.2701, allocations: 0.9919 MB / 0.9468 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.2701, allocations: 4 kB / 0.9468 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.2701, allocations: 11.94 kB / 0.9468 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000316/0.2705, allocations: 111.6 kB / 0.9469 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.2705, allocations: 7.984 kB / 0.9469 GB, free: 7.098 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.2718, allocations: 1.046 MB / 0.9479 GB, free: 6.023 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.2718, allocations: 11.94 kB / 0.9479 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/0.2751, allocations: 0.8999 MB / 0.9488 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.2752, allocations: 59.73 kB / 0.9489 GB, free: 5.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.2753, allocations: 8 kB / 0.9489 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.2755, allocations: 15.92 kB / 0.9489 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.2756, allocations: 11.98 kB / 0.9489 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.2756, allocations: 11.98 kB / 0.9489 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003671/0.276, allocations: 267 kB / 0.9492 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.276, allocations: 0 / 0.9492 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006209/0.2766, allocations: 115.9 kB / 0.9493 GB, free: 4.59 MB / 0.9011 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.0004635/0.2771, allocations: 195 kB / 0.9495 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.2788, allocations: 0.6479 MB / 0.9501 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2788, allocations: 0 / 0.9501 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.2796, allocations: 255.4 kB / 0.9503 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.2801, allocations: 62.48 kB / 0.9504 GB, free: 3.359 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.2817, allocations: 0.6029 MB / 0.951 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.2819, allocations: 147.1 kB / 0.9511 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.2821, allocations: 25.95 kB / 0.9512 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.2822, allocations: 20.48 kB / 0.9512 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of SimCode: time 7.71e-07/0.2822, allocations: 0 / 0.9512 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of Templates: time 0.01645/0.2986, allocations: 7.777 MB / 0.9588 GB, free: 10.85 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] 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: 8.946104014990851]