Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001556/0.001556, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001771/0.001771, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.544/1.544, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 63.91 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3594, allocations: 160.7 MB / 1.214 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004063/0.3634, allocations: 2.415 MB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.009/1.373, allocations: 151.4 MB / 1.364 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/1.373, allocations: 6.5 kB / 1.364 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003999/1.373, allocations: 86.34 kB / 1.364 GB, free: 5.129 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008838/1.374, allocations: 243.8 kB / 1.365 GB, free: 5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/1.376, allocations: 0.6694 MB / 1.365 GB, free: 4.672 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007073/1.377, allocations: 434.4 kB / 1.366 GB, free: 4.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/1.377, allocations: 29.58 kB / 1.366 GB, free: 4.473 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/1.377, allocations: 192.9 kB / 1.366 GB, free: 4.395 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/1.378, allocations: 206.6 kB / 1.366 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/1.378, allocations: 28.88 kB / 1.366 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/1.379, allocations: 0.6407 MB / 1.367 GB, free: 4.117 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/1.379, allocations: 88.64 kB / 1.367 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/1.38, allocations: 160.9 kB / 1.367 GB, free: 3.973 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/1.381, allocations: 0.6583 MB / 1.368 GB, free: 3.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.381, allocations: 0 / 1.368 GB, free: 3.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.144e-06/1.381, allocations: 4 kB / 1.368 GB, free: 3.746 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.362e-05/1.381, allocations: 3.938 kB / 1.368 GB, free: 3.742 MB / 1.045 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.001735/1.383, allocations: 0.7481 MB / 1.368 GB, free: 3.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.383, allocations: 9.031 kB / 1.368 GB, free: 3.16 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/1.384, allocations: 159.3 kB / 1.369 GB, free: 3.137 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006493/1.385, allocations: 325.4 kB / 1.369 GB, free: 2.859 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.068e-05/1.385, allocations: 48.94 kB / 1.369 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.19e-05/1.385, allocations: 17.53 kB / 1.369 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/1.385, allocations: 203.8 kB / 1.369 GB, free: 2.715 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.385, allocations: 0 / 1.369 GB, free: 2.715 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/1.385, allocations: 4.906 kB / 1.369 GB, free: 2.711 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.385, allocations: 9.188 kB / 1.369 GB, free: 2.707 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/1.386, allocations: 118.3 kB / 1.369 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/1.388, allocations: 0.992 MB / 1.37 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008289/1.389, allocations: 149.4 kB / 1.37 GB, free: 1.965 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/1.389, allocations: 88.31 kB / 1.37 GB, free: 1.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/1.389, allocations: 1.156 kB / 1.37 GB, free: 1.93 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/1.39, allocations: 185.8 kB / 1.371 GB, free: 1.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.744e-06/1.39, allocations: 0 / 1.371 GB, free: 1.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.004319/1.394, allocations: 0.8658 MB / 1.371 GB, free: 1.496 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/1.394, allocations: 81.64 kB / 1.372 GB, free: 1.402 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/1.395, allocations: 342.1 kB / 1.372 GB, free: 1.219 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.966e-05/1.395, allocations: 32.33 kB / 1.372 GB, free: 1.184 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/1.395, allocations: 156.1 kB / 1.372 GB, free: 1.047 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/1.395, allocations: 51.28 kB / 1.372 GB, free: 1.008 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.395, allocations: 86.86 kB / 1.372 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.395, allocations: 343.7 kB / 1.372 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/1.396, allocations: 139.8 kB / 1.373 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/1.396, allocations: 217.3 kB / 1.373 GB, free: 500 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006966/1.397, allocations: 345.9 kB / 1.373 GB, free: 284 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.397, allocations: 0 / 1.373 GB, free: 284 kB / 1.045 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003774/1.401, allocations: 0.8543 MB / 1.374 GB, free: 0 / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/1.401, allocations: 40.91 kB / 1.374 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.401, allocations: 1.469 kB / 1.374 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009584/1.402, allocations: 197.8 kB / 1.374 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/1.402, allocations: 42.66 kB / 1.374 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/1.405, allocations: 2.355 MB / 1.377 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/1.406, allocations: 53.14 kB / 1.377 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/1.406, allocations: 24.19 kB / 1.377 GB, free: 13.69 MB / 1.061 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.0002947/1.406, allocations: 182 kB / 1.377 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/1.406, allocations: 30.75 kB / 1.377 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/1.406, allocations: 24.92 kB / 1.377 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.406, allocations: 3.688 kB / 1.377 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.406, allocations: 1.062 kB / 1.377 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.406, allocations: 11.88 kB / 1.377 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/1.41, allocations: 1.037 MB / 1.378 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.41, allocations: 3.625 kB / 1.378 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/1.41, allocations: 10.16 kB / 1.378 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/1.41, allocations: 110 kB / 1.378 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/1.41, allocations: 10.7 kB / 1.378 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009894/1.411, allocations: 0.7446 MB / 1.379 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.411, allocations: 0 / 1.379 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003293/1.414, allocations: 0.8736 MB / 1.38 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/1.415, allocations: 139.5 kB / 1.38 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/1.415, allocations: 7.75 kB / 1.38 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/1.415, allocations: 15.52 kB / 1.38 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/1.415, allocations: 9.078 kB / 1.38 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/1.415, allocations: 15.2 kB / 1.38 GB, free: 11.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003352/1.415, allocations: 234.4 kB / 1.38 GB, free: 11.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.415, allocations: 0 / 1.38 GB, free: 11.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006626/1.416, allocations: 119 kB / 1.38 GB, free: 11.58 MB / 1.061 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.0004087/1.416, allocations: 185.2 kB / 1.38 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.418, allocations: 0.538 MB / 1.381 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.418, allocations: 0 / 1.381 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007639/1.419, allocations: 220.1 kB / 1.381 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/1.42, allocations: 72.02 kB / 1.381 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/1.421, allocations: 0.6424 MB / 1.382 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/1.422, allocations: 0.7588 MB / 1.382 GB, free: 9.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/1.422, allocations: 24.3 kB / 1.382 GB, free: 9.734 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.422, allocations: 0 / 1.382 GB, free: 9.734 MB / 1.061 GB Notification: Performance of Templates: time 0.01214/1.434, allocations: 6.541 MB / 1.389 GB, free: 6.285 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.58046503411606]