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.001902/0.001902, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.002331/0.002331, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.128/3.128, allocations: 0.49 GB / 0.7916 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) [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.002049/0.002049, allocations: 77.12 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2984, allocations: 176.1 MB / 1.321 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002921/0.3013, allocations: 1.745 MB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3026, allocations: 0.7868 MB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.3026, allocations: 4 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.141e-05/0.3027, allocations: 15.8 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.3027, allocations: 19.8 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.3031, allocations: 111.6 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3033, allocations: 111.6 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3034, allocations: 25.11 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.3034, allocations: 39.86 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.3035, allocations: 51.77 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3035, allocations: 12 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.3038, allocations: 115.9 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.3038, allocations: 27.92 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.3039, allocations: 55.66 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.3042, allocations: 163.3 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3042, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3042, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.3042, allocations: 0 / 1.324 GB, free: 15.98 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.0006558/0.3048, allocations: 450.7 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3049, allocations: 19.98 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.3049, allocations: 42.75 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3049, allocations: 12.88 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3051, allocations: 184.2 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3051, allocations: 8.375 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3051, allocations: 8.375 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.3055, allocations: 123.2 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.3055, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3055, allocations: 8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3055, allocations: 4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.3059, allocations: 115.9 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.3064, allocations: 392.5 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.3068, allocations: 102.5 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.307, allocations: 68.75 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.3075, allocations: 0.5544 MB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3075, allocations: 42.56 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3075, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006721/0.3082, allocations: 189.4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3082, allocations: 51.41 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3084, allocations: 168 kB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3084, allocations: 25.7 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.3085, allocations: 108.1 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.3085, allocations: 23.75 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.3085, allocations: 33.64 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3087, allocations: 326.8 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.3089, allocations: 39.97 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.309, allocations: 51.95 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.3094, allocations: 100.8 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3094, allocations: 0 / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004182/0.3098, allocations: 142 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3098, allocations: 16.02 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3098, allocations: 3.938 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3098, allocations: 0 / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.31, allocations: 19.98 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.31, allocations: 4 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3101, allocations: 19.88 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3101, allocations: 4 kB / 1.327 GB, free: 12.21 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 9.911e-05/0.3102, allocations: 123.6 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.3102, allocations: 15.89 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.3107, allocations: 150.9 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3107, allocations: 4 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.3107, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3107, allocations: 3.984 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.311, allocations: 213.5 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.311, allocations: 0 / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.3111, allocations: 27.97 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.3111, allocations: 3.938 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3111, allocations: 4 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3111, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3111, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.3116, allocations: 239.4 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.3117, allocations: 100.9 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3117, allocations: 4 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.3118, allocations: 7.984 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.3119, allocations: 15.98 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3119, allocations: 4 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.862e-05/0.312, allocations: 120 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.312, allocations: 0 / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002654/0.3123, allocations: 35.88 kB / 1.328 GB, free: 11.06 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.0008726/0.3131, allocations: 0.7982 MB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.3136, allocations: 107.8 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3136, allocations: 0 / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.3138, allocations: 55.95 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3142, allocations: 31.97 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.3167, allocations: 1.784 MB / 1.331 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.317, allocations: 0.7078 MB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.244e-05/0.3171, allocations: 4.562 kB / 1.332 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.3172, allocations: 35.42 kB / 1.332 GB, free: 7.398 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3172, allocations: 0 / 1.332 GB, free: 7.398 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.3493, allocations: 3.26 MB / 1.335 GB, free: 4.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.659, allocations: 1.875 kB / 1.335 GB, free: 4.301 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv","/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] "Error: Could not read variable dryWet.fraDry in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraDry from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.fraWet in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraWet from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.mWat_flow in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.mWat_flow from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.310437096981332]