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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.167/3.167, allocations: 476.7 MB / 0.7634 GB, free: 10.91 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=508,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=508,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 0.001936/0.001936, allocations: 63.91 kB / 1.108 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8953/0.8972, allocations: 168.7 MB / 1.272 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004164/0.9014, allocations: 2.41 MB / 1.275 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1921/1.094, allocations: 151.4 MB / 1.423 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/1.094, allocations: 0 / 1.423 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004394/1.094, allocations: 95.42 kB / 1.423 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0007953/1.095, allocations: 250.5 kB / 1.423 GB, free: 9.801 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/1.097, allocations: 0.6585 MB / 1.424 GB, free: 9.148 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006117/1.097, allocations: 438.6 kB / 1.424 GB, free: 8.719 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/1.098, allocations: 28.73 kB / 1.424 GB, free: 8.691 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/1.098, allocations: 187.4 kB / 1.424 GB, free: 8.508 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/1.098, allocations: 203.3 kB / 1.424 GB, free: 8.309 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/1.098, allocations: 32 kB / 1.424 GB, free: 8.277 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/1.1, allocations: 0.6472 MB / 1.425 GB, free: 7.629 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/1.1, allocations: 83.72 kB / 1.425 GB, free: 7.547 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/1.1, allocations: 163.2 kB / 1.425 GB, free: 7.387 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/1.101, allocations: 0.6565 MB / 1.426 GB, free: 6.734 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.101, allocations: 0 / 1.426 GB, free: 6.734 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.253e-06/1.101, allocations: 0 / 1.426 GB, free: 6.734 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.173e-06/1.101, allocations: 0 / 1.426 GB, free: 6.734 MB / 1.123 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.001731/1.103, allocations: 0.767 MB / 1.427 GB, free: 5.914 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.103, allocations: 12.03 kB / 1.427 GB, free: 5.902 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/1.104, allocations: 156.6 kB / 1.427 GB, free: 5.75 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/1.105, allocations: 314.9 kB / 1.427 GB, free: 5.402 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/1.105, allocations: 45.7 kB / 1.427 GB, free: 5.352 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/1.105, allocations: 23.89 kB / 1.427 GB, free: 5.328 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/1.106, allocations: 222.3 kB / 1.427 GB, free: 5.098 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.106, allocations: 3.938 kB / 1.427 GB, free: 5.094 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/1.106, allocations: 8 kB / 1.427 GB, free: 5.086 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/1.106, allocations: 4 kB / 1.427 GB, free: 5.082 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/1.106, allocations: 120.1 kB / 1.428 GB, free: 4.965 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/1.109, allocations: 0.9927 MB / 1.429 GB, free: 3.914 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/1.11, allocations: 151.4 kB / 1.429 GB, free: 3.758 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/1.11, allocations: 80.83 kB / 1.429 GB, free: 3.676 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/1.11, allocations: 4 kB / 1.429 GB, free: 3.672 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004014/1.11, allocations: 201 kB / 1.429 GB, free: 3.457 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/1.11, allocations: 0 / 1.429 GB, free: 3.457 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.004355/1.115, allocations: 0.8596 MB / 1.43 GB, free: 2.562 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/1.115, allocations: 81.05 kB / 1.43 GB, free: 2.465 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/1.115, allocations: 344.5 kB / 1.43 GB, free: 2.117 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/1.115, allocations: 29.7 kB / 1.43 GB, free: 2.082 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/1.115, allocations: 156.6 kB / 1.43 GB, free: 1.926 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/1.115, allocations: 55.58 kB / 1.43 GB, free: 1.871 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.116, allocations: 81.89 kB / 1.431 GB, free: 1.781 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.116, allocations: 354.7 kB / 1.431 GB, free: 1.426 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/1.116, allocations: 132.5 kB / 1.431 GB, free: 1.297 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/1.117, allocations: 217.9 kB / 1.431 GB, free: 1.07 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/1.117, allocations: 336.9 kB / 1.432 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.117, allocations: 4 kB / 1.432 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003928/1.121, allocations: 0.8531 MB / 1.432 GB, free: 15.84 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/1.121, allocations: 37.69 kB / 1.432 GB, free: 15.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.121, allocations: 4 kB / 1.432 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009936/1.122, allocations: 197.6 kB / 1.433 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/1.123, allocations: 39.97 kB / 1.433 GB, free: 15.55 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/1.126, allocations: 2.338 MB / 1.435 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/1.126, allocations: 51.66 kB / 1.435 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/1.127, allocations: 19.98 kB / 1.435 GB, free: 12.98 MB / 1.139 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.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$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.0002904/1.127, allocations: 190.8 kB / 1.435 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/1.127, allocations: 35.8 kB / 1.435 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/1.127, allocations: 31.17 kB / 1.435 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.127, allocations: 4 kB / 1.435 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.127, allocations: 3.938 kB / 1.435 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.127, allocations: 7.875 kB / 1.435 GB, free: 12.7 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/1.13, allocations: 1.035 MB / 1.436 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.13, allocations: 0 / 1.436 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/1.131, allocations: 8 kB / 1.436 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003427/1.131, allocations: 116.8 kB / 1.436 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/1.131, allocations: 11.94 kB / 1.436 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/1.132, allocations: 0.746 MB / 1.437 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.132, allocations: 4 kB / 1.437 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/1.135, allocations: 0.8705 MB / 1.438 GB, free: 9.793 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/1.136, allocations: 140.8 kB / 1.438 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/1.136, allocations: 4 kB / 1.438 GB, free: 9.633 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/1.136, allocations: 15.98 kB / 1.438 GB, free: 9.617 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/1.136, allocations: 12.05 kB / 1.438 GB, free: 9.605 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/1.136, allocations: 11.98 kB / 1.438 GB, free: 9.594 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000342/1.136, allocations: 239 kB / 1.438 GB, free: 9.363 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.136, allocations: 3.938 kB / 1.438 GB, free: 9.359 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005902/1.137, allocations: 115.9 kB / 1.438 GB, free: 9.246 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * 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.0004095/1.137, allocations: 180.2 kB / 1.439 GB, free: 9.062 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001672/1.139, allocations: 0.5222 MB / 1.439 GB, free: 8.512 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.139, allocations: 0 / 1.439 GB, free: 8.512 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007603/1.14, allocations: 232 kB / 1.439 GB, free: 8.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/1.14, allocations: 74.92 kB / 1.439 GB, free: 8.191 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/1.142, allocations: 0.639 MB / 1.44 GB, free: 7.523 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/1.142, allocations: 0.756 MB / 1.441 GB, free: 6.742 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/1.142, allocations: 23.42 kB / 1.441 GB, free: 6.723 MB / 1.139 GB Notification: Performance of SimCode: time 8.22e-07/1.142, allocations: 7.938 kB / 1.441 GB, free: 6.715 MB / 1.139 GB Notification: Performance of Templates: time 0.011/1.153, allocations: 6.52 MB / 1.447 GB, free: 228 kB / 1.139 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/jenkins1/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