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.001271/0.001271, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001528/0.001528, allocations: 220.5 kB / 22.26 MB, free: 5.125 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.95/2.95, allocations: 476.8 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_11_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.00209/0.00209, allocations: 68.73 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3262, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003256/0.3294, allocations: 1.763 MB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.331, allocations: 0.7847 MB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.3311, allocations: 0 / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.325e-05/0.3312, allocations: 11.86 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.3313, allocations: 31.72 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.3317, allocations: 99.72 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3319, allocations: 115.6 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.332, allocations: 21.3 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.3321, allocations: 43.86 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.3322, allocations: 51.77 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3322, allocations: 8 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.3325, allocations: 131.8 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.3326, allocations: 27.86 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.3326, allocations: 55.66 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.3329, allocations: 163.5 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3329, allocations: 0 / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3329, allocations: 0 / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.3329, allocations: 0 / 1.287 GB, free: 8.359 MB / 0.9825 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.00069/0.3336, allocations: 373.5 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3337, allocations: 20.02 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.3337, allocations: 38.75 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3338, allocations: 12.89 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3339, allocations: 130.4 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3339, allocations: 8.375 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.3339, allocations: 4.375 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.3343, allocations: 128 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3343, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3343, allocations: 12 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3343, allocations: 0 / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.3347, allocations: 111.9 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.3353, allocations: 367.5 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.3356, allocations: 106.6 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3358, allocations: 60.75 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.3361, allocations: 35.97 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3361, allocations: 34.56 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3361, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006616/0.3368, allocations: 185.4 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.3368, allocations: 55.41 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.337, allocations: 168 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.337, allocations: 25.7 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.3371, allocations: 108.1 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.3371, allocations: 31.73 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.3372, allocations: 22.09 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3373, allocations: 318.8 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.3375, allocations: 51.89 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.3377, allocations: 47.91 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.338, allocations: 100.7 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.338, allocations: 0 / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004052/0.3384, allocations: 149.5 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3384, allocations: 7.938 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3384, allocations: 7.984 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3385, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.3386, allocations: 19.98 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3386, allocations: 3.984 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3387, allocations: 19.98 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3388, allocations: 4 kB / 1.289 GB, free: 5.453 MB / 0.9825 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.553e-05/0.3389, allocations: 113.8 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.3389, allocations: 15.84 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/0.3394, allocations: 162.9 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3394, allocations: 4 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3394, allocations: 0 / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3394, allocations: 384 / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.3396, allocations: 180.7 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3396, allocations: 0 / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3398, allocations: 23.92 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3398, allocations: 11.88 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3398, allocations: 0 / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3398, allocations: 0 / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3398, allocations: 0 / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.3402, allocations: 243.3 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.3403, allocations: 27.83 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.3403, allocations: 4 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3404, allocations: 19.97 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.3405, allocations: 11.98 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.3405, allocations: 4 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3406, allocations: 124 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3406, allocations: 0 / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002789/0.3409, allocations: 27.94 kB / 1.29 GB, free: 4.418 MB / 0.9825 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.0008707/0.3418, allocations: 0.7903 MB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004043/0.3422, allocations: 99.86 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3422, allocations: 0 / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3423, allocations: 64.27 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3428, allocations: 34.06 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.3453, allocations: 1.772 MB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.3457, allocations: 0.7041 MB / 1.294 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.476e-05/0.3457, allocations: 12.47 kB / 1.294 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.3458, allocations: 35.42 kB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3458, allocations: 0 / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.3752, allocations: 3.383 MB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.5, allocations: 10.39 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.161700791912153]