Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001854/0.001854, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001653/0.001653, allocations: 216.8 kB / 22.25 MB, free: 5.258 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.207/3.207, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_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.002039/0.002039, allocations: 67.3 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003008/0.3222, allocations: 1.708 MB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3235, allocations: 0.7373 MB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.3236, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.3236, allocations: 11.86 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.3237, allocations: 27.72 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.3241, allocations: 99.72 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3243, allocations: 111.6 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3244, allocations: 21.3 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-05/0.3245, allocations: 43.86 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.3246, allocations: 51.69 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3246, allocations: 11.94 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.3249, allocations: 115.9 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.3249, allocations: 23.92 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.325, allocations: 43.73 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.3252, allocations: 171.4 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3252, allocations: 3.938 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3252, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3252, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 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.0006273/0.3259, allocations: 377.6 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3259, allocations: 8.031 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.3259, allocations: 42.75 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.326, allocations: 12.84 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3261, allocations: 126.4 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3261, allocations: 4.375 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3261, allocations: 8.375 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.3265, allocations: 129.5 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3265, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3265, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3265, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.3269, allocations: 107.9 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.3274, allocations: 355.5 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.3278, allocations: 102.6 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.328, allocations: 56.77 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.3282, allocations: 47.95 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3283, allocations: 38.56 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3283, allocations: 0 / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006351/0.3289, allocations: 189.4 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3289, allocations: 55.41 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3291, allocations: 163.3 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.3291, allocations: 29.7 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.3292, allocations: 100.5 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.3292, allocations: 31.7 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3293, allocations: 25.7 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3294, allocations: 322.8 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3296, allocations: 43.91 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.3297, allocations: 51.89 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.33, allocations: 104.7 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.33, allocations: 0 / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003827/0.3304, allocations: 145.5 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3304, allocations: 7.938 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3305, allocations: 0 / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3305, allocations: 0 / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3306, allocations: 23.98 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3306, allocations: 0 / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3307, allocations: 15.94 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.3308, allocations: 8 kB / 1.369 GB, free: 7.992 MB / 1.061 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.333e-05/0.3308, allocations: 122.9 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.3309, allocations: 19.84 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.3313, allocations: 154.9 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3313, allocations: 4.375 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3313, allocations: 0 / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3313, allocations: 0 / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.3316, allocations: 172.7 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3316, allocations: 3.938 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.3317, allocations: 27.92 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3317, allocations: 3.938 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3317, allocations: 4 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3317, allocations: 0 / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3317, allocations: 0 / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.3322, allocations: 243.3 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.3322, allocations: 19.88 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3322, allocations: 4 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3324, allocations: 11.97 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.3324, allocations: 11.98 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.3324, allocations: 4 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.542e-05/0.3325, allocations: 120 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3325, allocations: 0 / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002645/0.3328, allocations: 31.94 kB / 1.37 GB, free: 6.973 MB / 1.061 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.0008175/0.3336, allocations: 0.7981 MB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003975/0.334, allocations: 95.86 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.334, allocations: 0 / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.3342, allocations: 60.27 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.3346, allocations: 38.38 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.337, allocations: 1.769 MB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.289e-05/0.3371, allocations: 88.19 kB / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.899e-05/0.3372, allocations: 12.48 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.3373, allocations: 27.42 kB / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/0.3373, allocations: 0 / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.3674, allocations: 3.931 MB / 1.377 GB, free: 208 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.57, allocations: 4.812 kB / 1.377 GB, free: 204 kB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.214450570289046]