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.001365/0.001366, allocations: 113.2 kB / 17.08 MB, free: 6.012 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.001355/0.001355, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.499/1.499, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.765/2.765, allocations: 437.1 MB / 0.7178 GB, free: 4.512 MB / 0.5606 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.001996/0.001996, allocations: 67.91 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3268, allocations: 151.6 MB / 1.176 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003875/0.3307, allocations: 2.382 MB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.888/1.219, allocations: 151 MB / 1.326 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/1.219, allocations: 2.219 kB / 1.326 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003792/1.219, allocations: 90.31 kB / 1.326 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007955/1.22, allocations: 247.8 kB / 1.326 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/1.222, allocations: 0.6577 MB / 1.327 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006303/1.223, allocations: 446.2 kB / 1.327 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/1.223, allocations: 44.56 kB / 1.327 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/1.223, allocations: 182.3 kB / 1.327 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/1.223, allocations: 200.4 kB / 1.327 GB, free: 11.56 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/1.224, allocations: 30.09 kB / 1.327 GB, free: 11.56 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/1.225, allocations: 0.6285 MB / 1.328 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/1.225, allocations: 81.03 kB / 1.328 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/1.225, allocations: 159.4 kB / 1.328 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/1.226, allocations: 0.659 MB / 1.329 GB, free: 11.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.226, allocations: 3.125 kB / 1.329 GB, free: 11.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/1.226, allocations: 1.438 kB / 1.329 GB, free: 11.3 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.227, allocations: 0 / 1.329 GB, free: 11.3 MB / 1.014 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.001628/1.228, allocations: 0.7524 MB / 1.33 GB, free: 10.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.228, allocations: 13.88 kB / 1.33 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/1.23, allocations: 158 kB / 1.33 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/1.23, allocations: 320.6 kB / 1.33 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.419e-05/1.23, allocations: 50.38 kB / 1.33 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/1.231, allocations: 21.19 kB / 1.33 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/1.231, allocations: 203.5 kB / 1.33 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.231, allocations: 0.5625 kB / 1.33 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/1.231, allocations: 6.094 kB / 1.33 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/1.231, allocations: 4.5 kB / 1.33 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/1.231, allocations: 124.7 kB / 1.331 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/1.234, allocations: 0.9891 MB / 1.332 GB, free: 9.906 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008074/1.235, allocations: 160.6 kB / 1.332 GB, free: 9.883 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/1.235, allocations: 98.5 kB / 1.332 GB, free: 9.875 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/1.235, allocations: 6.094 kB / 1.332 GB, free: 9.871 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/1.235, allocations: 200.1 kB / 1.332 GB, free: 9.781 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/1.235, allocations: 0 / 1.332 GB, free: 9.781 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.004265/1.24, allocations: 0.8682 MB / 1.333 GB, free: 9.465 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/1.24, allocations: 90.03 kB / 1.333 GB, free: 9.363 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/1.24, allocations: 336.8 kB / 1.333 GB, free: 9.184 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/1.24, allocations: 36.17 kB / 1.333 GB, free: 9.145 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/1.241, allocations: 145.9 kB / 1.333 GB, free: 9.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/1.241, allocations: 56.75 kB / 1.333 GB, free: 8.977 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/1.241, allocations: 83.77 kB / 1.334 GB, free: 8.938 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.241, allocations: 348 kB / 1.334 GB, free: 8.605 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/1.241, allocations: 138.7 kB / 1.334 GB, free: 8.559 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/1.242, allocations: 214.1 kB / 1.334 GB, free: 8.457 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/1.243, allocations: 345.1 kB / 1.335 GB, free: 8.246 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.243, allocations: 1.188 kB / 1.335 GB, free: 8.246 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003811/1.246, allocations: 0.8581 MB / 1.335 GB, free: 7.965 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/1.246, allocations: 39.89 kB / 1.335 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.246, allocations: 1.344 kB / 1.335 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009621/1.247, allocations: 206.1 kB / 1.336 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/1.248, allocations: 40.84 kB / 1.336 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/1.251, allocations: 2.336 MB / 1.338 GB, free: 5.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/1.252, allocations: 48.67 kB / 1.338 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/1.252, allocations: 22.94 kB / 1.338 GB, free: 5.668 MB / 1.014 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.0002811/1.252, allocations: 186 kB / 1.338 GB, free: 5.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/1.252, allocations: 30.94 kB / 1.338 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/1.252, allocations: 30.58 kB / 1.338 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.252, allocations: 2.375 kB / 1.338 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1.252, allocations: 0 / 1.338 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/1.252, allocations: 8.922 kB / 1.338 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/1.256, allocations: 1.041 MB / 1.339 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.256, allocations: 1.094 kB / 1.339 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/1.256, allocations: 5.281 kB / 1.339 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003244/1.256, allocations: 115.6 kB / 1.339 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/1.256, allocations: 10.47 kB / 1.339 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009861/1.257, allocations: 0.7525 MB / 1.34 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.257, allocations: 0 / 1.34 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/1.26, allocations: 0.8715 MB / 1.341 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/1.26, allocations: 136.8 kB / 1.341 GB, free: 3.742 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/1.261, allocations: 7.406 kB / 1.341 GB, free: 3.738 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/1.261, allocations: 15.44 kB / 1.341 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/1.261, allocations: 11.38 kB / 1.341 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/1.261, allocations: 14.78 kB / 1.341 GB, free: 3.727 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003571/1.261, allocations: 241.3 kB / 1.341 GB, free: 3.598 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.261, allocations: 1.219 kB / 1.341 GB, free: 3.598 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006692/1.262, allocations: 117.7 kB / 1.341 GB, free: 3.578 MB / 1.014 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.0004131/1.262, allocations: 177.3 kB / 1.342 GB, free: 3.469 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001711/1.264, allocations: 0.5779 MB / 1.342 GB, free: 3.145 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.264, allocations: 0 / 1.342 GB, free: 3.145 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007942/1.265, allocations: 264.9 kB / 1.342 GB, free: 3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/1.265, allocations: 58.75 kB / 1.343 GB, free: 2.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/1.267, allocations: 0.6494 MB / 1.343 GB, free: 2.582 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/1.268, allocations: 0.7569 MB / 1.344 GB, free: 1.883 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/1.268, allocations: 28.58 kB / 1.344 GB, free: 1.871 MB / 1.014 GB Notification: Performance of SimCode: time 4.7e-07/1.268, allocations: 5.531 kB / 1.344 GB, free: 1.867 MB / 1.014 GB Notification: Performance of Templates: time 0.01122/1.279, allocations: 6.525 MB / 1.35 GB, free: 1.25 MB / 1.014 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: 12.685647184960544]