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.001621/0.001621, allocations: 109.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.001956/0.001956, allocations: 219.2 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.988 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.163/3.163, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.002012/0.002012, allocations: 63.62 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3113, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003315/0.3146, allocations: 1.762 MB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3161, allocations: 0.7985 MB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.136e-05/0.3162, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.314e-05/0.3162, allocations: 7.875 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.3163, allocations: 27.72 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.3167, allocations: 95.72 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3169, allocations: 111.6 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.317, allocations: 33.28 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.3171, allocations: 43.84 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.3172, allocations: 47.78 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.3172, allocations: 8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.3176, allocations: 127.8 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.3176, allocations: 23.92 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.3177, allocations: 51.67 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.3179, allocations: 163.4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3179, allocations: 3.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3179, allocations: 3.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.3179, allocations: 0 / 1.329 GB, free: 14.61 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.0006689/0.3186, allocations: 379.1 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3187, allocations: 15.97 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.3187, allocations: 38.75 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.3187, allocations: 12.89 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3189, allocations: 126.4 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3189, allocations: 8.375 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3189, allocations: 8.375 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.3193, allocations: 127.4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3193, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3193, allocations: 8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3193, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.3197, allocations: 111.9 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.3203, allocations: 367.5 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.3206, allocations: 102.6 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.3208, allocations: 64.75 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.3211, allocations: 39.97 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3211, allocations: 38.56 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3211, allocations: 4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0007119/0.3218, allocations: 181.4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3219, allocations: 59.41 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3221, allocations: 164 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3221, allocations: 25.7 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.3221, allocations: 104.1 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.3222, allocations: 35.72 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.3222, allocations: 25.72 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3224, allocations: 322.8 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3226, allocations: 47.95 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.3227, allocations: 48.27 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.3231, allocations: 100.9 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3231, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003869/0.3235, allocations: 145.5 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3235, allocations: 13.66 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3235, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3235, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3236, allocations: 23.97 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3237, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3238, allocations: 19.94 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3238, allocations: 0 / 1.332 GB, free: 11.69 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.0001023/0.3239, allocations: 118.4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.3239, allocations: 15.89 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.3244, allocations: 158.9 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3244, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3244, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3244, allocations: 3.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.3246, allocations: 180.6 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3246, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.3248, allocations: 23.92 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3248, allocations: 7.938 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3248, allocations: 4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3248, allocations: 3.984 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3248, allocations: 8.188 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.3252, allocations: 235.3 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.3253, allocations: 27.83 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.3253, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3254, allocations: 19.97 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.3255, allocations: 7.984 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3255, allocations: 4 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001082/0.3256, allocations: 120 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3256, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002691/0.3258, allocations: 31.94 kB / 1.333 GB, free: 10.66 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.0008134/0.3267, allocations: 0.7903 MB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.3271, allocations: 103.9 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3271, allocations: 4 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.3273, allocations: 55.89 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.3277, allocations: 40.39 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.3301, allocations: 1.762 MB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.3305, allocations: 0.7039 MB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.156e-05/0.3306, allocations: 12.48 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.3306, allocations: 31.42 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3306, allocations: 0 / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.3624, allocations: 3.383 MB / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.81, allocations: 4.688 kB / 1.339 GB, free: 3.801 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 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.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: 18.38024895498529]