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.001831/0.001831, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002302/0.002302, allocations: 211.4 kB / 22.24 MB, free: 4.855 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.801 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.76/2.76, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 177] 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.002152/0.002152, allocations: 66.53 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2967, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002985/0.2997, allocations: 1.699 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.301, allocations: 0.7303 MB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.3011, allocations: 4 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.778e-05/0.3011, allocations: 11.86 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.3012, allocations: 19.75 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.3016, allocations: 107.6 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.3017, allocations: 119.6 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3018, allocations: 21.3 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.3019, allocations: 39.86 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.302, allocations: 51.77 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.302, allocations: 8 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.3023, allocations: 119.9 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.3023, allocations: 27.84 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.3024, allocations: 43.8 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3026, allocations: 168.7 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3026, allocations: 3.984 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3026, allocations: 0 / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3026, allocations: 0 / 1.286 GB, free: 9.23 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.0006252/0.3032, allocations: 373.6 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3033, allocations: 12.03 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.3033, allocations: 38.73 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.3034, allocations: 12.89 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3035, allocations: 122.4 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3035, allocations: 12.31 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3035, allocations: 8.375 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.3038, allocations: 131.6 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3038, allocations: 0 / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3039, allocations: 8 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.3039, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.3042, allocations: 107.9 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.3048, allocations: 351.5 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.3052, allocations: 110.5 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.3054, allocations: 56.81 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.3056, allocations: 35.97 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3056, allocations: 30.56 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.542e-06/0.3056, allocations: 0 / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006361/0.3063, allocations: 197.7 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3063, allocations: 59.34 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3065, allocations: 164.1 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3065, allocations: 29.64 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.3066, allocations: 104.1 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.3066, allocations: 27.75 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.3066, allocations: 25.72 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3068, allocations: 326.8 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.3069, allocations: 43.95 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3071, allocations: 47.89 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.3074, allocations: 100.8 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3074, allocations: 0 / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000391/0.3078, allocations: 137.5 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3079, allocations: 13.66 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3079, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3079, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.308, allocations: 27.97 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.308, allocations: 4 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3081, allocations: 15.94 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3081, allocations: 0 / 1.288 GB, free: 6.359 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 0.0001086/0.3082, allocations: 121.8 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.3083, allocations: 19.84 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.3088, allocations: 159.2 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3088, allocations: 3.938 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3088, allocations: 4 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3088, allocations: 0 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.309, allocations: 164.7 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.309, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3092, allocations: 27.97 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3092, allocations: 3.938 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3092, allocations: 11.98 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3092, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3092, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.3096, allocations: 243.3 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.3097, allocations: 27.83 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3097, allocations: 0 / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3098, allocations: 11.98 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.3099, allocations: 23.92 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.3099, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.971e-05/0.31, allocations: 124 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.31, allocations: 0 / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002627/0.3103, allocations: 31.92 kB / 1.289 GB, free: 5.32 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.0007991/0.3111, allocations: 0.7748 MB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.3115, allocations: 116.1 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3115, allocations: 0 / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.3116, allocations: 55.89 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3121, allocations: 27.98 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.3144, allocations: 1.773 MB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.554e-05/0.3145, allocations: 84.19 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.674e-05/0.3146, allocations: 16.48 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.3146, allocations: 27.44 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3146, allocations: 0 / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.3462, allocations: 3.932 MB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.74, allocations: 8.5 kB / 1.296 GB, free: 14.57 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.25789722520858]