Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00181/0.00181, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.001996/0.001996, allocations: 169 kB / 22.46 MB, free: 5.359 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.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.915/2.915, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.799e-05/4.004e-05, allocations: 5.375 kB / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.004139/0.004179, allocations: 1.701 MB / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.005937, allocations: 0.7446 MB / 0.9534 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.006046, allocations: 7.938 kB / 0.9534 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.109e-05/0.006107, allocations: 11.86 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.006215, allocations: 15.8 kB / 0.9534 GB, free: 9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.006803, allocations: 107.6 kB / 0.9535 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.007036, allocations: 115.5 kB / 0.9536 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.007187, allocations: 25.3 kB / 0.9537 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.007342, allocations: 63.81 kB / 0.9537 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.007428, allocations: 35.89 kB / 0.9538 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.00746, allocations: 12 kB / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.007858, allocations: 123.8 kB / 0.9539 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.007891, allocations: 15.92 kB / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.007955, allocations: 39.91 kB / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.008319, allocations: 179.4 kB / 0.9541 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.008323, allocations: 0 / 0.9541 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.008324, allocations: 0 / 0.9541 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.008329, allocations: 0 / 0.9541 GB, free: 8.293 MB / 0.8575 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.0008184/0.009148, allocations: 373.6 kB / 0.9545 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.0092, allocations: 12.03 kB / 0.9545 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.009262, allocations: 12.84 kB / 0.9545 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.009462, allocations: 125.6 kB / 0.9546 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.009484, allocations: 12.38 kB / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.009511, allocations: 8.375 kB / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.00996, allocations: 122 kB / 0.9548 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.009975, allocations: 192 / 0.9548 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.00999, allocations: 384 / 0.9548 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.009999, allocations: 3.938 kB / 0.9548 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.01042, allocations: 119.8 kB / 0.9549 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.01116, allocations: 308.2 kB / 0.9552 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.01161, allocations: 106.5 kB / 0.9553 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.01184, allocations: 60.81 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.01212, allocations: 39.97 kB / 0.9554 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.01217, allocations: 42.5 kB / 0.9554 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.01217, allocations: 3.938 kB / 0.9554 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0007878/0.01296, allocations: 177.5 kB / 0.9556 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.01301, allocations: 55.41 kB / 0.9556 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.01319, allocations: 132.4 kB / 0.9558 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.01322, allocations: 29.7 kB / 0.9558 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.01334, allocations: 112.2 kB / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.0134, allocations: 31.73 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.0135, allocations: 21.7 kB / 0.9559 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.01372, allocations: 318.8 kB / 0.9563 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.01391, allocations: 43.95 kB / 0.9563 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01408, allocations: 47.95 kB / 0.9563 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.01446, allocations: 104.7 kB / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01446, allocations: 0.5625 kB / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004176/0.01488, allocations: 133.5 kB / 0.9566 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.0149, allocations: 12 kB / 0.9566 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01491, allocations: 0 / 0.9566 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.01494, allocations: 0 / 0.9566 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.0151, allocations: 27.91 kB / 0.9566 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.0151, allocations: 0 / 0.9566 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01521, allocations: 19.88 kB / 0.9566 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.01523, allocations: 4 kB / 0.9566 GB, free: 5.551 MB / 0.8575 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.0001449/0.01537, allocations: 117.8 kB / 0.9567 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.01542, allocations: 11.95 kB / 0.9568 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000552/0.01597, allocations: 154 kB / 0.9569 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01597, allocations: 0 / 0.9569 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01598, allocations: 0 / 0.9569 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.01599, allocations: 11.92 kB / 0.9569 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.01624, allocations: 141.2 kB / 0.957 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01624, allocations: 0 / 0.957 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.01638, allocations: 23.98 kB / 0.9571 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01638, allocations: 0 / 0.9571 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01639, allocations: 4 kB / 0.9571 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01639, allocations: 0 / 0.9571 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01639, allocations: 3.938 kB / 0.9571 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.01688, allocations: 235.4 kB / 0.9573 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.01693, allocations: 19.94 kB / 0.9573 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01694, allocations: 7.875 kB / 0.9573 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.01707, allocations: 11.98 kB / 0.9573 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.01713, allocations: 11.98 kB / 0.9573 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.01714, allocations: 0 / 0.9573 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.049e-05/0.01722, allocations: 99.53 kB / 0.9574 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01722, allocations: 0 / 0.9574 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003023/0.01752, allocations: 39.83 kB / 0.9575 GB, free: 4.617 MB / 0.8575 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.000237/0.01776, allocations: 127.1 kB / 0.9576 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.01821, allocations: 99.86 kB / 0.9577 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01821, allocations: 0 / 0.9577 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.01841, allocations: 55.89 kB / 0.9578 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.01881, allocations: 30.78 kB / 0.9578 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.01942, allocations: 209.6 kB / 0.958 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.01954, allocations: 92.3 kB / 0.9581 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.336e-05/0.01961, allocations: 11.98 kB / 0.9581 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.01965, allocations: 12.5 kB / 0.9581 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.01965, allocations: 0 / 0.9581 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of Templates: time 0.0061/0.02575, allocations: 1.446 MB / 0.9595 GB, free: 2.523 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.721106246113777]