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.001667/0.001667, allocations: 110 kB / 18.93 MB, free: 2.945 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.001865/0.001865, allocations: 190.8 kB / 22.23 MB, free: 5.16 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.482/1.482, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002268/0.002268, allocations: 64.12 kB / 1.061 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 160.8 MB / 1.218 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004937/1.038, allocations: 2.425 MB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.2137/1.252, allocations: 151.5 MB / 1.369 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/1.252, allocations: 11.94 kB / 1.369 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004915/1.253, allocations: 87.42 kB / 1.369 GB, free: 12.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009383/1.254, allocations: 238.6 kB / 1.369 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/1.256, allocations: 0.677 MB / 1.37 GB, free: 11.74 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006448/1.256, allocations: 434.6 kB / 1.37 GB, free: 11.32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/1.256, allocations: 32.91 kB / 1.37 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/1.257, allocations: 187.4 kB / 1.37 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/1.257, allocations: 207.3 kB / 1.371 GB, free: 10.9 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.754e-05/1.257, allocations: 32 kB / 1.371 GB, free: 10.87 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/1.259, allocations: 0.6434 MB / 1.371 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/1.259, allocations: 87.66 kB / 1.371 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/1.259, allocations: 163.2 kB / 1.371 GB, free: 9.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/1.26, allocations: 0.6566 MB / 1.372 GB, free: 9.328 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.26, allocations: 7.938 kB / 1.372 GB, free: 9.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.983e-06/1.26, allocations: 0 / 1.372 GB, free: 9.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.316e-06/1.26, allocations: 0 / 1.372 GB, free: 9.32 MB / 1.076 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.001833/1.262, allocations: 0.7651 MB / 1.373 GB, free: 8.496 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.262, allocations: 16.03 kB / 1.373 GB, free: 8.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/1.264, allocations: 156.6 kB / 1.373 GB, free: 8.328 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/1.264, allocations: 319.5 kB / 1.373 GB, free: 7.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/1.264, allocations: 41.7 kB / 1.373 GB, free: 7.934 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/1.264, allocations: 27.98 kB / 1.373 GB, free: 7.906 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/1.265, allocations: 208.7 kB / 1.374 GB, free: 7.688 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/1.265, allocations: 7.938 kB / 1.374 GB, free: 7.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/1.265, allocations: 4 kB / 1.374 GB, free: 7.676 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/1.265, allocations: 4 kB / 1.374 GB, free: 7.672 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/1.265, allocations: 116.2 kB / 1.374 GB, free: 7.559 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/1.268, allocations: 0.9926 MB / 1.375 GB, free: 6.508 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/1.268, allocations: 146.4 kB / 1.375 GB, free: 6.355 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/1.269, allocations: 84.81 kB / 1.375 GB, free: 6.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/1.269, allocations: 4 kB / 1.375 GB, free: 6.266 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/1.269, allocations: 192.9 kB / 1.375 GB, free: 6.059 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.655e-06/1.269, allocations: 4 kB / 1.375 GB, free: 6.055 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.004319/1.273, allocations: 0.8674 MB / 1.376 GB, free: 5.152 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/1.273, allocations: 85.11 kB / 1.376 GB, free: 5.051 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/1.274, allocations: 340.5 kB / 1.376 GB, free: 4.707 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/1.274, allocations: 33.7 kB / 1.376 GB, free: 4.668 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/1.274, allocations: 152.6 kB / 1.377 GB, free: 4.516 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/1.274, allocations: 55.58 kB / 1.377 GB, free: 4.461 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/1.274, allocations: 89.89 kB / 1.377 GB, free: 4.367 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.275, allocations: 346.7 kB / 1.377 GB, free: 4.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/1.275, allocations: 136.5 kB / 1.377 GB, free: 3.887 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/1.275, allocations: 214 kB / 1.377 GB, free: 3.664 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006661/1.276, allocations: 356.7 kB / 1.378 GB, free: 3.289 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.276, allocations: 3.938 kB / 1.378 GB, free: 3.285 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00361/1.28, allocations: 0.8446 MB / 1.379 GB, free: 2.422 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/1.28, allocations: 37.69 kB / 1.379 GB, free: 2.379 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.28, allocations: 4 kB / 1.379 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009352/1.281, allocations: 201.6 kB / 1.379 GB, free: 2.172 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/1.281, allocations: 43.84 kB / 1.379 GB, free: 2.129 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/1.284, allocations: 2.349 MB / 1.381 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/1.285, allocations: 47.66 kB / 1.381 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/1.285, allocations: 20.22 kB / 1.381 GB, free: 15.55 MB / 1.092 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.0003605/1.285, allocations: 184.8 kB / 1.381 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/1.285, allocations: 35.81 kB / 1.381 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/1.285, allocations: 35.05 kB / 1.381 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/1.285, allocations: 0 / 1.381 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.285, allocations: 0 / 1.381 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.285, allocations: 3.938 kB / 1.381 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/1.289, allocations: 1.029 MB / 1.382 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.289, allocations: 4 kB / 1.382 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/1.289, allocations: 8 kB / 1.382 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003427/1.289, allocations: 120.8 kB / 1.383 GB, free: 14.05 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/1.289, allocations: 15.92 kB / 1.383 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009978/1.29, allocations: 0.7438 MB / 1.383 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.29, allocations: 0 / 1.383 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/1.293, allocations: 0.8749 MB / 1.384 GB, free: 12.37 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/1.294, allocations: 132.8 kB / 1.384 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/1.294, allocations: 8 kB / 1.384 GB, free: 12.21 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/1.294, allocations: 19.98 kB / 1.384 GB, free: 12.2 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/1.294, allocations: 7.984 kB / 1.384 GB, free: 12.19 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/1.294, allocations: 7.984 kB / 1.384 GB, free: 12.18 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003574/1.294, allocations: 243.1 kB / 1.385 GB, free: 11.94 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.294, allocations: 0 / 1.385 GB, free: 11.94 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006847/1.295, allocations: 115.9 kB / 1.385 GB, free: 11.83 MB / 1.092 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.000478/1.296, allocations: 187 kB / 1.385 GB, free: 11.63 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001756/1.297, allocations: 0.526 MB / 1.385 GB, free: 11.08 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.297, allocations: 0 / 1.385 GB, free: 11.08 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007361/1.298, allocations: 228.2 kB / 1.386 GB, free: 10.84 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/1.299, allocations: 63.08 kB / 1.386 GB, free: 10.78 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/1.3, allocations: 0.6208 MB / 1.386 GB, free: 10.14 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/1.301, allocations: 0.7637 MB / 1.387 GB, free: 9.348 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001407/1.301, allocations: 30.28 kB / 1.387 GB, free: 9.32 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/1.301, allocations: 23.44 kB / 1.387 GB, free: 9.297 MB / 1.092 GB Notification: Performance of SimCode: time 8.21e-07/1.301, allocations: 0 / 1.387 GB, free: 9.297 MB / 1.092 GB Notification: Performance of Templates: time 0.01459/1.315, allocations: 7.41 MB / 1.394 GB, free: 1.949 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.895427159033716]