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.0008465/0.0008465, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008428/0.0008428, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8962/0.8962, allocations: 177.1 MB / 203.5 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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 1.702/1.702, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] 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.605e-06/2.605e-06, allocations: 0 / 0.9518 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.8e-05/4.061e-05, allocations: 6.281 kB / 0.9518 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003588/0.003628, allocations: 2.312 MB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6188/0.6224, allocations: 132.7 MB / 1.084 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.6226, allocations: 0 / 1.084 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.6229, allocations: 88.33 kB / 1.084 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006751/0.6236, allocations: 259.3 kB / 1.084 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.6249, allocations: 0.6612 MB / 1.085 GB, free: 40.17 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.6253, allocations: 448.1 kB / 1.085 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.6254, allocations: 35.19 kB / 1.085 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.6257, allocations: 256.3 kB / 1.085 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.6259, allocations: 167.6 kB / 1.085 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.6259, allocations: 31.62 kB / 1.086 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009211/0.6269, allocations: 0.599 MB / 1.086 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.6269, allocations: 81.44 kB / 1.086 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.6271, allocations: 121.3 kB / 1.086 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.6279, allocations: 0.7456 MB / 1.087 GB, free: 40.07 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.628, allocations: 0 / 1.087 GB, free: 40.07 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.935e-06/0.628, allocations: 3.812 kB / 1.087 GB, free: 40.07 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.628, allocations: 0 / 1.087 GB, free: 40.07 MB / 0.9948 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.001101/0.6291, allocations: 0.6974 MB / 1.088 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6291, allocations: 8.625 kB / 1.088 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.6301, allocations: 186.8 kB / 1.088 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.6305, allocations: 265.1 kB / 1.088 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.6305, allocations: 51.91 kB / 1.088 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.6306, allocations: 19.12 kB / 1.088 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.6309, allocations: 236.9 kB / 1.088 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6309, allocations: 0 / 1.088 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.6309, allocations: 10.28 kB / 1.088 GB, free: 39.29 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6309, allocations: 2.312 kB / 1.088 GB, free: 39.29 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.6311, allocations: 146.8 kB / 1.089 GB, free: 39.26 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.6324, allocations: 0.8627 MB / 1.089 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.6328, allocations: 174.9 kB / 1.09 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.633, allocations: 114.9 kB / 1.09 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.633, allocations: 2.719 kB / 1.09 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.6333, allocations: 229.9 kB / 1.09 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/0.6333, allocations: 0 / 1.09 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.002171/0.6355, allocations: 0.8657 MB / 1.091 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.6355, allocations: 82.36 kB / 1.091 GB, free: 38.38 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.6357, allocations: 323 kB / 1.091 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.6358, allocations: 34.2 kB / 1.091 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.6358, allocations: 155.8 kB / 1.091 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.6359, allocations: 58.05 kB / 1.091 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.636, allocations: 85.31 kB / 1.091 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.636, allocations: 335.2 kB / 1.092 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.6362, allocations: 170.9 kB / 1.092 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.6365, allocations: 369 kB / 1.092 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.6368, allocations: 343.9 kB / 1.093 GB, free: 37.42 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6368, allocations: 1.094 kB / 1.093 GB, free: 37.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001776/0.6386, allocations: 0.9094 MB / 1.094 GB, free: 37.26 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.6387, allocations: 35.61 kB / 1.094 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.6387, allocations: 2.625 kB / 1.094 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/0.6392, allocations: 201.6 kB / 1.094 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6393, allocations: 41.5 kB / 1.094 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.6407, allocations: 2.21 MB / 1.096 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.641, allocations: 41.83 kB / 1.096 GB, free: 35.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.641, allocations: 20.55 kB / 1.096 GB, free: 35.34 MB / 0.9948 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.0001554/0.6411, allocations: 186 kB / 1.096 GB, free: 35.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.6412, allocations: 40.5 kB / 1.096 GB, free: 35.17 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.6412, allocations: 29.44 kB / 1.096 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6412, allocations: 5.062 kB / 1.096 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6412, allocations: 3.188 kB / 1.096 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6412, allocations: 0 / 1.096 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.6428, allocations: 0.9927 MB / 1.097 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6428, allocations: 0 / 1.097 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.6428, allocations: 12.11 kB / 1.097 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.643, allocations: 115.3 kB / 1.097 GB, free: 34.81 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.643, allocations: 5.438 kB / 1.097 GB, free: 34.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003938/0.6434, allocations: 0.744 MB / 1.098 GB, free: 34.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6434, allocations: 3.938 kB / 1.098 GB, free: 34.21 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.6451, allocations: 0.9487 MB / 1.099 GB, free: 33.83 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.6452, allocations: 51.66 kB / 1.099 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.6452, allocations: 7.375 kB / 1.099 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.6454, allocations: 27.22 kB / 1.099 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.6454, allocations: 9.531 kB / 1.099 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.6454, allocations: 8.844 kB / 1.099 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002259/0.6457, allocations: 223.4 kB / 1.099 GB, free: 33.67 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6457, allocations: 0 / 1.099 GB, free: 33.67 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005/0.6462, allocations: 120.1 kB / 1.099 GB, free: 33.65 MB / 0.9948 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.0003641/0.6465, allocations: 206.4 kB / 1.1 GB, free: 33.54 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.6476, allocations: 0.5907 MB / 1.1 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6476, allocations: 0 / 1.1 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.648, allocations: 259.4 kB / 1.1 GB, free: 33.03 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.6483, allocations: 60.67 kB / 1.101 GB, free: 33.01 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.6494, allocations: 0.6336 MB / 1.101 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.6496, allocations: 155.9 kB / 1.101 GB, free: 32.54 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.6496, allocations: 23.2 kB / 1.101 GB, free: 32.53 MB / 0.9948 GB Notification: Performance of SimCode: time 1.172e-06/0.6496, allocations: 0 / 1.101 GB, free: 32.53 MB / 0.9948 GB Notification: Performance of Templates: time 0.009989/0.6596, allocations: 6.648 MB / 1.108 GB, free: 31.9 MB / 0.9948 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: 8.185224427841604]