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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.89 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003103/1.102, allocations: 2.416 MB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2157/1.318, allocations: 151.5 MB / 1.456 GB, free: 1.672 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/1.318, allocations: 2.375 kB / 1.456 GB, free: 1.672 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004789/1.318, allocations: 95.34 kB / 1.456 GB, free: 1.629 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/1.319, allocations: 251.2 kB / 1.456 GB, free: 1.492 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/1.322, allocations: 0.6548 MB / 1.457 GB, free: 1.176 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008134/1.322, allocations: 438.3 kB / 1.457 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/1.323, allocations: 33.55 kB / 1.457 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/1.323, allocations: 186.2 kB / 1.457 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/1.323, allocations: 204.2 kB / 1.458 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/1.323, allocations: 29.66 kB / 1.458 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/1.325, allocations: 0.644 MB / 1.458 GB, free: 0.6094 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/1.325, allocations: 84.17 kB / 1.458 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/1.325, allocations: 161.4 kB / 1.458 GB, free: 480 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/1.327, allocations: 0.6608 MB / 1.459 GB, free: 244 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.327, allocations: 0.75 kB / 1.459 GB, free: 244 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.453e-06/1.327, allocations: 1.312 kB / 1.459 GB, free: 244 kB / 1.139 GB Notification: Performance of Transformations before backend: time 1.499e-05/1.327, allocations: 0 / 1.459 GB, free: 244 kB / 1.139 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.001917/1.329, allocations: 0.7574 MB / 1.46 GB, free: 15.64 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.329, allocations: 8.406 kB / 1.46 GB, free: 15.64 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/1.33, allocations: 164.3 kB / 1.46 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/1.331, allocations: 316.8 kB / 1.46 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/1.331, allocations: 47.83 kB / 1.46 GB, free: 15.31 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/1.331, allocations: 20.75 kB / 1.46 GB, free: 15.3 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/1.332, allocations: 205.1 kB / 1.461 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.332, allocations: 0 / 1.461 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/1.332, allocations: 9.406 kB / 1.461 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.332, allocations: 3.828 kB / 1.461 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/1.332, allocations: 121.4 kB / 1.461 GB, free: 15.16 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/1.335, allocations: 0.9961 MB / 1.462 GB, free: 14.51 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008304/1.336, allocations: 153.9 kB / 1.462 GB, free: 14.44 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/1.336, allocations: 84.39 kB / 1.462 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/1.336, allocations: 1.469 kB / 1.462 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/1.336, allocations: 200.2 kB / 1.462 GB, free: 14.29 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.963e-06/1.336, allocations: 0 / 1.462 GB, free: 14.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.004486/1.341, allocations: 0.8667 MB / 1.463 GB, free: 13.96 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/1.341, allocations: 82.48 kB / 1.463 GB, free: 13.87 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/1.342, allocations: 343.2 kB / 1.463 GB, free: 13.68 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/1.342, allocations: 33.34 kB / 1.463 GB, free: 13.64 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/1.342, allocations: 153.1 kB / 1.463 GB, free: 13.51 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/1.342, allocations: 57.19 kB / 1.464 GB, free: 13.47 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/1.342, allocations: 96.03 kB / 1.464 GB, free: 13.41 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.342, allocations: 344.1 kB / 1.464 GB, free: 13.09 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/1.343, allocations: 134.7 kB / 1.464 GB, free: 13.04 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/1.343, allocations: 222 kB / 1.464 GB, free: 12.93 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/1.344, allocations: 337.5 kB / 1.465 GB, free: 12.73 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.344, allocations: 0 / 1.465 GB, free: 12.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004052/1.348, allocations: 0.8616 MB / 1.465 GB, free: 12.44 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/1.348, allocations: 35.75 kB / 1.466 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.348, allocations: 1.531 kB / 1.466 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.349, allocations: 193.5 kB / 1.466 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/1.349, allocations: 44.33 kB / 1.466 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/1.353, allocations: 2.345 MB / 1.468 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/1.353, allocations: 54.06 kB / 1.468 GB, free: 10.15 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/1.354, allocations: 20.06 kB / 1.468 GB, free: 10.15 MB / 1.154 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.0003371/1.354, allocations: 189 kB / 1.468 GB, free: 9.98 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/1.354, allocations: 30.38 kB / 1.468 GB, free: 9.965 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/1.354, allocations: 31.7 kB / 1.468 GB, free: 9.945 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.354, allocations: 1.438 kB / 1.468 GB, free: 9.945 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.354, allocations: 7.938 kB / 1.468 GB, free: 9.938 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.354, allocations: 6.547 kB / 1.468 GB, free: 9.934 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/1.358, allocations: 1.037 MB / 1.469 GB, free: 9.316 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/1.358, allocations: 4 kB / 1.469 GB, free: 9.312 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/1.358, allocations: 6.625 kB / 1.469 GB, free: 9.312 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/1.358, allocations: 111.5 kB / 1.469 GB, free: 9.254 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/1.358, allocations: 15.52 kB / 1.469 GB, free: 9.242 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/1.359, allocations: 0.7319 MB / 1.47 GB, free: 8.578 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.359, allocations: 0 / 1.47 GB, free: 8.578 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/1.362, allocations: 0.8914 MB / 1.471 GB, free: 8.055 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/1.363, allocations: 138.8 kB / 1.471 GB, free: 7.914 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/1.363, allocations: 7.969 kB / 1.471 GB, free: 7.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/1.363, allocations: 11.08 kB / 1.471 GB, free: 7.906 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/1.363, allocations: 13.17 kB / 1.471 GB, free: 7.898 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/1.363, allocations: 9.453 kB / 1.471 GB, free: 7.895 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003796/1.364, allocations: 238.3 kB / 1.471 GB, free: 7.746 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.364, allocations: 64 / 1.471 GB, free: 7.746 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008491/1.364, allocations: 119.7 kB / 1.472 GB, free: 7.723 MB / 1.154 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.0004249/1.365, allocations: 184.4 kB / 1.472 GB, free: 7.594 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001702/1.366, allocations: 0.5175 MB / 1.472 GB, free: 7.254 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.366, allocations: 0 / 1.472 GB, free: 7.254 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007826/1.367, allocations: 235.5 kB / 1.473 GB, free: 7.102 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/1.368, allocations: 69.41 kB / 1.473 GB, free: 7.059 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/1.369, allocations: 0.6163 MB / 1.473 GB, free: 6.656 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/1.37, allocations: 0.7626 MB / 1.474 GB, free: 5.922 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001568/1.37, allocations: 25.39 kB / 1.474 GB, free: 5.914 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/1.37, allocations: 22.77 kB / 1.474 GB, free: 5.902 MB / 1.154 GB Notification: Performance of SimCode: time 9.52e-07/1.37, allocations: 0 / 1.474 GB, free: 5.902 MB / 1.154 GB Notification: Performance of Templates: time 0.01547/1.385, allocations: 7.356 MB / 1.481 GB, free: 2.215 MB / 1.154 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] 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/jenkins/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: 10.293366239406168]