Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001815/0.001815, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002318/0.002318, allocations: 209.3 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.63/1.63, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.669/3.669, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 64.41 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4552, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.005212/0.4604, allocations: 2.434 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2324/0.6928, allocations: 154.3 MB / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.6932, allocations: 0 / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005312/0.6938, allocations: 99.42 kB / 1.48 GB, free: 3.957 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.6948, allocations: 238.6 kB / 1.48 GB, free: 3.723 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.6971, allocations: 0.6814 MB / 1.48 GB, free: 3.047 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.6981, allocations: 438.5 kB / 1.481 GB, free: 2.617 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.6983, allocations: 32.91 kB / 1.481 GB, free: 2.586 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.6988, allocations: 183.5 kB / 1.481 GB, free: 2.406 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.6993, allocations: 207.2 kB / 1.481 GB, free: 2.203 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.942e-05/0.6994, allocations: 32 kB / 1.481 GB, free: 2.172 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.7011, allocations: 0.6707 MB / 1.482 GB, free: 1.5 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.7012, allocations: 87.67 kB / 1.482 GB, free: 1.414 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.7015, allocations: 163.2 kB / 1.482 GB, free: 1.254 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.703, allocations: 0.6735 MB / 1.483 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.703, allocations: 0 / 1.483 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.663e-06/0.703, allocations: 0 / 1.483 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.703, allocations: 0 / 1.483 GB, free: 0.5781 MB / 1.17 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.002182/0.7052, allocations: 0.699 MB / 1.484 GB, free: 15.84 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/0.7053, allocations: 12.03 kB / 1.484 GB, free: 15.83 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.7075, allocations: 188.5 kB / 1.484 GB, free: 15.64 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.7084, allocations: 269.6 kB / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.189e-05/0.7085, allocations: 41.7 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/0.7085, allocations: 20 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.7092, allocations: 210.8 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.7092, allocations: 0 / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.7092, allocations: 8 kB / 1.484 GB, free: 15.06 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.7093, allocations: 4 kB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.7096, allocations: 116.1 kB / 1.484 GB, free: 14.94 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.7128, allocations: 0.9605 MB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.7138, allocations: 158.3 kB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.7141, allocations: 84.81 kB / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.7142, allocations: 4 kB / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.7147, allocations: 185 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 2.796e-06/0.7147, allocations: 0 / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.005234/0.7199, allocations: 0.8192 MB / 1.487 GB, free: 12.64 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.72, allocations: 89.11 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007471/0.7208, allocations: 332.5 kB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.721, allocations: 33.7 kB / 1.487 GB, free: 12.17 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.7213, allocations: 152.6 kB / 1.487 GB, free: 12.01 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.7214, allocations: 55.55 kB / 1.487 GB, free: 11.96 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.7217, allocations: 81.94 kB / 1.487 GB, free: 11.87 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002596/0.7219, allocations: 350.7 kB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.7224, allocations: 132.5 kB / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.7229, allocations: 217.4 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008262/0.7237, allocations: 344.8 kB / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.7237, allocations: 0 / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00473/0.7285, allocations: 0.8764 MB / 1.489 GB, free: 9.902 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.7286, allocations: 37.69 kB / 1.489 GB, free: 9.859 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.7286, allocations: 0 / 1.489 GB, free: 9.859 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.7298, allocations: 197.6 kB / 1.489 GB, free: 9.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.7302, allocations: 40 kB / 1.489 GB, free: 9.621 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004825/0.735, allocations: 2.239 MB / 1.492 GB, free: 7.242 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/0.7357, allocations: 47.7 kB / 1.492 GB, free: 7.195 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-05/0.7358, allocations: 23.97 kB / 1.492 GB, free: 7.172 MB / 1.186 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.0004852/0.7362, allocations: 180.1 kB / 1.492 GB, free: 6.98 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.7364, allocations: 35.77 kB / 1.492 GB, free: 6.945 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.399e-05/0.7365, allocations: 27.11 kB / 1.492 GB, free: 6.918 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.7365, allocations: 4 kB / 1.492 GB, free: 6.914 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.7365, allocations: 0 / 1.492 GB, free: 6.914 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7365, allocations: 8.062 kB / 1.492 GB, free: 6.906 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.7406, allocations: 1.02 MB / 1.493 GB, free: 5.828 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.7406, allocations: 0 / 1.493 GB, free: 5.828 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/0.7407, allocations: 8 kB / 1.493 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003907/0.7411, allocations: 120.7 kB / 1.493 GB, free: 5.699 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.7411, allocations: 11.94 kB / 1.493 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.7424, allocations: 0.746 MB / 1.494 GB, free: 4.918 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7424, allocations: 0 / 1.494 GB, free: 4.918 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/0.746, allocations: 0.8859 MB / 1.495 GB, free: 4.008 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.7463, allocations: 55.8 kB / 1.495 GB, free: 3.953 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.7463, allocations: 8 kB / 1.495 GB, free: 3.945 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.7466, allocations: 7.984 kB / 1.495 GB, free: 3.938 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.7467, allocations: 16.03 kB / 1.495 GB, free: 3.922 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.7467, allocations: 12 kB / 1.495 GB, free: 3.91 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003787/0.7471, allocations: 239 kB / 1.495 GB, free: 3.68 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.7471, allocations: 0 / 1.495 GB, free: 3.68 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006892/0.7478, allocations: 119.8 kB / 1.495 GB, free: 3.562 MB / 1.186 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.000538/0.7483, allocations: 191.4 kB / 1.495 GB, free: 3.363 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.7503, allocations: 0.5299 MB / 1.496 GB, free: 2.805 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7503, allocations: 0 / 1.496 GB, free: 2.805 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008263/0.7511, allocations: 228.2 kB / 1.496 GB, free: 2.566 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.7518, allocations: 77.09 kB / 1.496 GB, free: 2.492 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.7538, allocations: 0.6219 MB / 1.497 GB, free: 1.852 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.7545, allocations: 0.756 MB / 1.497 GB, free: 1.07 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002425/0.7547, allocations: 42.2 kB / 1.497 GB, free: 1.031 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.7548, allocations: 19.44 kB / 1.497 GB, free: 1.012 MB / 1.186 GB Notification: Performance of SimCode: time 1.643e-06/0.7548, allocations: 0 / 1.497 GB, free: 1.012 MB / 1.186 GB Notification: Performance of Templates: time 0.01842/0.7732, allocations: 7.482 MB / 1.505 GB, free: 9.594 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.927030743099749]