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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.762/2.762, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 1.104 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.6626, allocations: 168.7 MB / 1.269 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003174/0.6658, allocations: 1.74 MB / 1.27 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.6671, allocations: 0.7261 MB / 1.271 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.6671, allocations: 0 / 1.271 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.6672, allocations: 11.88 kB / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.6672, allocations: 31.66 kB / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.6676, allocations: 95.7 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.6678, allocations: 111.6 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.6679, allocations: 29.09 kB / 1.271 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.668, allocations: 43.84 kB / 1.271 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.6681, allocations: 47.77 kB / 1.272 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.6681, allocations: 16 kB / 1.272 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.6683, allocations: 111.8 kB / 1.272 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.6684, allocations: 27.91 kB / 1.272 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.6684, allocations: 47.67 kB / 1.272 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.6687, allocations: 157.4 kB / 1.272 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6687, allocations: 0 / 1.272 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6687, allocations: 0 / 1.272 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.6687, allocations: 0 / 1.272 GB, free: 2.016 MB / 0.9669 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.0007022/0.6694, allocations: 454.7 kB / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.6695, allocations: 8.031 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.6695, allocations: 42.73 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.6695, allocations: 20.78 kB / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.6697, allocations: 172.3 kB / 1.273 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.6697, allocations: 8.375 kB / 1.273 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.6697, allocations: 8.375 kB / 1.273 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.6701, allocations: 130.8 kB / 1.273 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6701, allocations: 3.938 kB / 1.273 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.6701, allocations: 3.984 kB / 1.273 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6701, allocations: 0 / 1.273 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.6705, allocations: 111.9 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.6711, allocations: 396.5 kB / 1.273 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.6714, allocations: 98.59 kB / 1.273 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.6716, allocations: 60.81 kB / 1.273 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005611/0.6721, allocations: 0.5622 MB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.6722, allocations: 42.48 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.6722, allocations: 0 / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006261/0.6728, allocations: 193.6 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.6728, allocations: 51.5 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.673, allocations: 168.9 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.673, allocations: 25.7 kB / 1.274 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.6731, allocations: 108.1 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.6731, allocations: 31.7 kB / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.6732, allocations: 21.7 kB / 1.274 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6733, allocations: 322.8 kB / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.6735, allocations: 47.91 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.6736, allocations: 43.95 kB / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.674, allocations: 104.7 kB / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.674, allocations: 4 kB / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003815/0.6743, allocations: 137.5 kB / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.6744, allocations: 7.938 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6744, allocations: 3.984 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.6744, allocations: 0 / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.6745, allocations: 23.98 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6746, allocations: 0 / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.6747, allocations: 23.94 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.6747, allocations: 4 kB / 1.275 GB, free: 14.27 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.0001061/0.6748, allocations: 119.4 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.6748, allocations: 15.84 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.6753, allocations: 159.2 kB / 1.275 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6753, allocations: 4 kB / 1.275 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6753, allocations: 0 / 1.275 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6753, allocations: 0 / 1.275 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.6755, allocations: 209.5 kB / 1.276 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6755, allocations: 4 kB / 1.276 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.6757, allocations: 35.91 kB / 1.276 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.6757, allocations: 3.938 kB / 1.276 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.6757, allocations: 4 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6757, allocations: 0 / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6757, allocations: 4 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.6761, allocations: 239.3 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.6762, allocations: 96.98 kB / 1.276 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.6762, allocations: 4 kB / 1.276 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.6764, allocations: 11.98 kB / 1.276 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.6764, allocations: 11.98 kB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.6764, allocations: 0 / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001012/0.6765, allocations: 124.2 kB / 1.276 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.6765, allocations: 0 / 1.276 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002565/0.6768, allocations: 28 kB / 1.276 GB, free: 13.1 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.0008588/0.6776, allocations: 0.7869 MB / 1.277 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.678, allocations: 116 kB / 1.277 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.678, allocations: 0 / 1.277 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.6782, allocations: 55.89 kB / 1.277 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.6786, allocations: 30.31 kB / 1.277 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.6811, allocations: 1.774 MB / 1.279 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.6814, allocations: 0.7002 MB / 1.28 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.838e-05/0.6815, allocations: 16.53 kB / 1.28 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.6816, allocations: 27.42 kB / 1.28 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of SimCode: time 8.12e-07/0.6816, allocations: 4 kB / 1.28 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.7078, allocations: 3.177 MB / 1.283 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.798, allocations: 3.938 kB / 1.283 GB, free: 6.449 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 14.609494698233902]