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.001431/0.001431, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001613/0.001613, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 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 2.916/2.916, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 59.91 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9355/0.9377, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003453/0.9412, allocations: 2.305 MB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1731/1.114, allocations: 132.7 MB / 1.318 GB, free: 14.81 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/1.114, allocations: 4 kB / 1.318 GB, free: 14.81 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003605/1.115, allocations: 91.45 kB / 1.319 GB, free: 14.72 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0006591/1.115, allocations: 246.5 kB / 1.319 GB, free: 14.48 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/1.117, allocations: 0.6595 MB / 1.319 GB, free: 13.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005497/1.118, allocations: 430.6 kB / 1.32 GB, free: 13.4 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/1.118, allocations: 36.56 kB / 1.32 GB, free: 13.38 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/1.118, allocations: 187.4 kB / 1.32 GB, free: 13.19 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/1.118, allocations: 187.3 kB / 1.32 GB, free: 13.01 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/1.119, allocations: 28 kB / 1.32 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/1.12, allocations: 0.6043 MB / 1.321 GB, free: 12.38 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/1.12, allocations: 83.72 kB / 1.321 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/1.12, allocations: 131.4 kB / 1.321 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009899/1.121, allocations: 0.6734 MB / 1.322 GB, free: 11.49 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.121, allocations: 0 / 1.322 GB, free: 11.49 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.192e-06/1.121, allocations: 0 / 1.322 GB, free: 11.49 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.236e-06/1.121, allocations: 0 / 1.322 GB, free: 11.49 MB / 1.17 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.00162/1.123, allocations: 0.7053 MB / 1.322 GB, free: 10.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/1.123, allocations: 12.03 kB / 1.322 GB, free: 10.73 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/1.125, allocations: 192.5 kB / 1.323 GB, free: 10.55 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/1.125, allocations: 253.8 kB / 1.323 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/1.125, allocations: 49.66 kB / 1.323 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/1.125, allocations: 16 kB / 1.323 GB, free: 10.2 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/1.126, allocations: 246.3 kB / 1.323 GB, free: 9.941 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/1.126, allocations: 0 / 1.323 GB, free: 9.941 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/1.126, allocations: 8 kB / 1.323 GB, free: 9.934 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.126, allocations: 0 / 1.323 GB, free: 9.934 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/1.126, allocations: 153.8 kB / 1.323 GB, free: 9.777 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/1.129, allocations: 0.8634 MB / 1.324 GB, free: 8.875 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000863/1.129, allocations: 184.1 kB / 1.324 GB, free: 8.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/1.13, allocations: 117.2 kB / 1.324 GB, free: 8.559 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/1.13, allocations: 4 kB / 1.324 GB, free: 8.555 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/1.13, allocations: 225.6 kB / 1.325 GB, free: 8.312 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/1.13, allocations: 0 / 1.325 GB, free: 8.312 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.004736/1.135, allocations: 0.8719 MB / 1.326 GB, free: 7.414 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/1.135, allocations: 85.11 kB / 1.326 GB, free: 7.312 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/1.135, allocations: 312.5 kB / 1.326 GB, free: 6.992 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/1.135, allocations: 37.7 kB / 1.326 GB, free: 6.949 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/1.136, allocations: 156.9 kB / 1.326 GB, free: 6.793 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.231e-05/1.136, allocations: 63.47 kB / 1.326 GB, free: 6.73 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/1.136, allocations: 81.94 kB / 1.326 GB, free: 6.641 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.136, allocations: 338.8 kB / 1.327 GB, free: 6.301 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/1.136, allocations: 182.2 kB / 1.327 GB, free: 6.117 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/1.137, allocations: 358.5 kB / 1.327 GB, free: 5.723 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/1.138, allocations: 340.9 kB / 1.327 GB, free: 5.363 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.138, allocations: 0 / 1.327 GB, free: 5.363 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004102/1.142, allocations: 0.8982 MB / 1.328 GB, free: 4.441 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/1.142, allocations: 37.7 kB / 1.328 GB, free: 4.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.142, allocations: 8 kB / 1.328 GB, free: 4.391 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000994/1.143, allocations: 201.6 kB / 1.328 GB, free: 4.188 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/1.143, allocations: 35.92 kB / 1.329 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/1.146, allocations: 2.211 MB / 1.331 GB, free: 1.809 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/1.147, allocations: 39.77 kB / 1.331 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/1.147, allocations: 23.97 kB / 1.331 GB, free: 1.746 MB / 1.17 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.0002612/1.147, allocations: 192 kB / 1.331 GB, free: 1.543 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/1.147, allocations: 27.81 kB / 1.331 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/1.147, allocations: 26.25 kB / 1.331 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.147, allocations: 4 kB / 1.331 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/1.147, allocations: 0 / 1.331 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.147, allocations: 0 / 1.331 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/1.151, allocations: 0.9939 MB / 1.332 GB, free: 448 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/1.151, allocations: 4 kB / 1.332 GB, free: 444 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/1.151, allocations: 4 kB / 1.332 GB, free: 440 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003436/1.151, allocations: 120.9 kB / 1.332 GB, free: 316 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/1.151, allocations: 11.94 kB / 1.332 GB, free: 304 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/1.152, allocations: 0.7421 MB / 1.333 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.152, allocations: 3.938 kB / 1.333 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/1.156, allocations: 0.948 MB / 1.334 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/1.156, allocations: 67.67 kB / 1.334 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/1.156, allocations: 4 kB / 1.334 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/1.156, allocations: 15.98 kB / 1.334 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/1.156, allocations: 7.984 kB / 1.334 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/1.156, allocations: 15.98 kB / 1.334 GB, free: 14.43 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002965/1.157, allocations: 215.1 kB / 1.334 GB, free: 14.23 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.157, allocations: 0 / 1.334 GB, free: 14.23 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005539/1.157, allocations: 127.8 kB / 1.334 GB, free: 14.1 MB / 1.186 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.0003466/1.158, allocations: 187 kB / 1.334 GB, free: 13.91 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.159, allocations: 0.5883 MB / 1.335 GB, free: 13.28 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.159, allocations: 4.188 kB / 1.335 GB, free: 13.28 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/1.16, allocations: 261.9 kB / 1.335 GB, free: 13 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/1.161, allocations: 50.69 kB / 1.335 GB, free: 12.95 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/1.162, allocations: 0.6562 MB / 1.336 GB, free: 12.27 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/1.162, allocations: 159.1 kB / 1.336 GB, free: 12.09 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001294/1.162, allocations: 25.95 kB / 1.336 GB, free: 12.07 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/1.162, allocations: 20.5 kB / 1.336 GB, free: 12.04 MB / 1.186 GB Notification: Performance of SimCode: time 3.91e-07/1.162, allocations: 0 / 1.336 GB, free: 12.04 MB / 1.186 GB Notification: Performance of Templates: time 0.01461/1.177, allocations: 7.742 MB / 1.344 GB, free: 4.387 MB / 1.186 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 -s ida -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/jenkins1/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.31426591007039]