Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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.001334/0.001335, allocations: 108.2 kB / 17.08 MB, free: 5.961 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.001335/0.001336, allocations: 192.3 kB / 20.02 MB, free: 3.031 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.518/1.518, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.804/2.804, allocations: 437.1 MB / 0.7177 GB, free: 4.516 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.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_10_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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.89 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3537, allocations: 151.6 MB / 1.176 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003111/0.3568, allocations: 1.72 MB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3582, allocations: 0.7254 MB / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.3583, allocations: 4 kB / 1.178 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.3584, allocations: 7.875 kB / 1.178 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.247e-05/0.3585, allocations: 31.72 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.3589, allocations: 91.7 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3591, allocations: 115.6 kB / 1.179 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3592, allocations: 33.11 kB / 1.179 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.3593, allocations: 43.84 kB / 1.179 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.3594, allocations: 55.7 kB / 1.179 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3595, allocations: 8 kB / 1.179 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.3597, allocations: 111.9 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.3598, allocations: 23.91 kB / 1.179 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.3598, allocations: 51.67 kB / 1.179 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.3601, allocations: 163.3 kB / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3601, allocations: 0 / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3601, allocations: 4 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3601, allocations: 0 / 1.179 GB, free: 2.629 MB / 0.92 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.0007012/0.3608, allocations: 446.8 kB / 1.179 GB, free: 2.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3609, allocations: 11.98 kB / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.3609, allocations: 16.84 kB / 1.179 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.3611, allocations: 182.7 kB / 1.18 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.3612, allocations: 12.38 kB / 1.18 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.3612, allocations: 8.375 kB / 1.18 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.3615, allocations: 121.9 kB / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3616, allocations: 0 / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3616, allocations: 4 kB / 1.18 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3616, allocations: 4 kB / 1.18 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.362, allocations: 107.9 kB / 1.18 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.3626, allocations: 404.3 kB / 1.18 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.363, allocations: 106.5 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.3632, allocations: 64.86 kB / 1.18 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/0.3638, allocations: 0.5622 MB / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3638, allocations: 30.56 kB / 1.181 GB, free: 296 kB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3638, allocations: 0 / 1.181 GB, free: 296 kB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0006943/0.3645, allocations: 197.4 kB / 1.181 GB, free: 92 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3646, allocations: 51.41 kB / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.3648, allocations: 165.5 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3649, allocations: 25.7 kB / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.3649, allocations: 100.5 kB / 1.181 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.365, allocations: 35.67 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.365, allocations: 21.72 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3652, allocations: 326.8 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.3654, allocations: 47.89 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3656, allocations: 47.89 kB / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.3659, allocations: 96.8 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3659, allocations: 0 / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004194/0.3664, allocations: 145.5 kB / 1.182 GB, free: 15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3664, allocations: 7.938 kB / 1.182 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3664, allocations: 0 / 1.182 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3664, allocations: 4 kB / 1.182 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3666, allocations: 31.97 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3666, allocations: 3.938 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3667, allocations: 19.88 kB / 1.182 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3668, allocations: 4 kB / 1.182 GB, free: 14.93 MB / 0.9356 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.0001074/0.3669, allocations: 117.8 kB / 1.182 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.3669, allocations: 11.89 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.3674, allocations: 158.9 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3674, allocations: 8.359 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3674, allocations: 0 / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3674, allocations: 0 / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3677, allocations: 213.5 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3677, allocations: 3.938 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3679, allocations: 31.98 kB / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3679, allocations: 3.938 kB / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3679, allocations: 0 / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3679, allocations: 0 / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.3679, allocations: 3.984 kB / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.3684, allocations: 239.4 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.3685, allocations: 97 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3685, allocations: 11.92 kB / 1.183 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3686, allocations: 11.98 kB / 1.183 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.3687, allocations: 4 kB / 1.183 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3687, allocations: 4 kB / 1.183 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001218/0.3688, allocations: 132.8 kB / 1.183 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3688, allocations: 0 / 1.183 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002499/0.3691, allocations: 31.94 kB / 1.183 GB, free: 13.76 MB / 0.9356 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.0002626/0.3693, allocations: 109.4 kB / 1.183 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.3698, allocations: 107.8 kB / 1.183 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3698, allocations: 3.938 kB / 1.184 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.37, allocations: 55.95 kB / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3704, allocations: 30.62 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.3709, allocations: 253.4 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3713, allocations: 0.7041 MB / 1.185 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.3713, allocations: 15.44 kB / 1.185 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3713, allocations: 0 / 1.185 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.003572/0.3749, allocations: 1.469 MB / 1.186 GB, free: 10.96 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.138939460972324]