Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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.001772/0.001772, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002203/0.002203, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.167/3.167, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [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.002059/0.002059, allocations: 74.59 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4106, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003514/0.4141, allocations: 1.762 MB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.4156, allocations: 0.7985 MB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.4156, allocations: 4 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.221e-05/0.4157, allocations: 11.86 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.4158, allocations: 19.75 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.4162, allocations: 105.2 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.4163, allocations: 115.6 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.4165, allocations: 25.3 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.4166, allocations: 39.86 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.4166, allocations: 59.77 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.4167, allocations: 8 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.417, allocations: 123.8 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.417, allocations: 27.91 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.4171, allocations: 47.73 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.4174, allocations: 167.3 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4174, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4174, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.4174, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007094/0.4181, allocations: 373.6 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4181, allocations: 8.031 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.4182, allocations: 12.89 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.4183, allocations: 132.8 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4183, allocations: 8.375 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.4184, allocations: 12.38 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.4188, allocations: 126.8 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4188, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4188, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4188, allocations: 4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.4193, allocations: 115.8 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008333/0.4202, allocations: 367.5 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.4206, allocations: 106.6 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.4209, allocations: 60.81 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.4212, allocations: 47.97 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4213, allocations: 30.56 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.4213, allocations: 3.938 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0009262/0.4222, allocations: 193.4 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.4223, allocations: 59.33 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.4225, allocations: 164 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.4225, allocations: 29.7 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.4226, allocations: 100.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.4226, allocations: 31.73 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.4227, allocations: 17.72 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4229, allocations: 326.8 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.4232, allocations: 47.95 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.4234, allocations: 43.95 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.4238, allocations: 100.7 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4238, allocations: 4 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005609/0.4244, allocations: 137.5 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4244, allocations: 9.969 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4244, allocations: 0.6562 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4245, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.4247, allocations: 35.91 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4247, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.4248, allocations: 19.94 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.4248, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.425, allocations: 118.3 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.425, allocations: 19.83 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.4257, allocations: 158.9 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.4257, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4257, allocations: 3.984 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4257, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.426, allocations: 184.6 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.426, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.4262, allocations: 23.97 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4262, allocations: 3.938 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.4262, allocations: 4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.4262, allocations: 7.938 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.4263, allocations: 3.984 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.4269, allocations: 235.5 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.4269, allocations: 23.83 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.427, allocations: 11.94 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.4272, allocations: 11.98 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.4272, allocations: 7.984 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4272, allocations: 4 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001484/0.4274, allocations: 120 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4274, allocations: 4 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004769/0.4279, allocations: 27.94 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002462/0.4281, allocations: 111.2 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005776/0.4287, allocations: 104 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4287, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.429, allocations: 60.03 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.4296, allocations: 41.53 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.4303, allocations: 253.9 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.4308, allocations: 0.7041 MB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.4309, allocations: 15.44 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.4309, allocations: 0 / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of Templates: time 0.005214/0.4361, allocations: 1.544 MB / 1.337 GB, free: 7.34 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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: 11.646281277993694]