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.0007875/0.0007875, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008083/0.0008083, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8636/0.8636, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.729/1.729, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.013e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002076/0.002096, allocations: 1.697 MB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003182, allocations: 0.7361 MB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.003234, allocations: 4 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.00327, allocations: 19.73 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.003323, allocations: 19.73 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.003652, allocations: 103.6 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.003761, allocations: 119.5 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.003878, allocations: 33.22 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.003965, allocations: 59.88 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.004014, allocations: 39.89 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.004032, allocations: 8 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.00426, allocations: 115.9 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.004279, allocations: 23.86 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.00431, allocations: 39.84 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.004504, allocations: 179.5 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004506, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.333e-06/0.004508, allocations: 7.938 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004511, allocations: 0 / 1.003 GB, free: 10.25 MB / 0.9636 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.0004475/0.004959, allocations: 365.6 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.004998, allocations: 12.75 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.00503, allocations: 42.73 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.005057, allocations: 8.891 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.434e-05/0.005141, allocations: 132 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.005154, allocations: 8.375 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.005168, allocations: 8.375 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.005423, allocations: 122.6 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.00543, allocations: 4.188 kB / 1.003 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.005441, allocations: 4.125 kB / 1.003 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005446, allocations: 0 / 1.003 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.005637, allocations: 119.8 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.006054, allocations: 347.5 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.006296, allocations: 106.6 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.006392, allocations: 56.81 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.006556, allocations: 43.97 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.006572, allocations: 30.56 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.006573, allocations: 4 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003602/0.006933, allocations: 185.7 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.006962, allocations: 67.28 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.007059, allocations: 163.3 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.007071, allocations: 29.7 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.007119, allocations: 108.1 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.007143, allocations: 31.73 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.00718, allocations: 17.72 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.00726, allocations: 322.8 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.007353, allocations: 43.95 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.007432, allocations: 51.95 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.0076, allocations: 104.7 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007602, allocations: 3.938 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002044/0.007807, allocations: 137.6 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.007819, allocations: 4 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.007824, allocations: 0 / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.00784, allocations: 3.938 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.007917, allocations: 31.91 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.007921, allocations: 0 / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.007968, allocations: 23.88 kB / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.007975, allocations: 4 kB / 1.005 GB, free: 7.359 MB / 0.9636 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 6.403e-05/0.008039, allocations: 117.8 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.008057, allocations: 12.28 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.008305, allocations: 158.9 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.008311, allocations: 11.92 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.008314, allocations: 0 / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.008317, allocations: 0 / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.00845, allocations: 160.7 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.008452, allocations: 4 kB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.008515, allocations: 23.97 kB / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008517, allocations: 0 / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.008524, allocations: 0 / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.008528, allocations: 11.92 kB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008529, allocations: 0 / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.008757, allocations: 243.3 kB / 1.006 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.008789, allocations: 15.94 kB / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.008803, allocations: 4 kB / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.008862, allocations: 15.92 kB / 1.006 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.008901, allocations: 11.92 kB / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.008905, allocations: 4 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.547e-05/0.008961, allocations: 124 kB / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008961, allocations: 0 / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001719/0.009133, allocations: 31.88 kB / 1.006 GB, free: 6.352 MB / 0.9636 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.0004812/0.009614, allocations: 0.7904 MB / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.009834, allocations: 112 kB / 1.007 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009835, allocations: 0 / 1.007 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.009919, allocations: 55.95 kB / 1.007 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.0102, allocations: 31.92 kB / 1.007 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.0117, allocations: 1.776 MB / 1.009 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.472e-05/0.01175, allocations: 88.31 kB / 1.009 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.01179, allocations: 4.5 kB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.01184, allocations: 36.47 kB / 1.009 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.01184, allocations: 0 / 1.009 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.02788, allocations: 4.05 MB / 1.013 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.9, allocations: 1.5 kB / 1.013 GB, free: 15.46 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.856840726919472]