Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.0008092/0.0008092, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007972/0.0007972, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8644/0.8644, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.635/1.635, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9505 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.966e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001917/0.001936, allocations: 1.599 MB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.004484, allocations: 3.118 MB / 0.9552 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.004537, allocations: 8 kB / 0.9552 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.004565, allocations: 7.922 kB / 0.9552 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.329e-05/0.004629, allocations: 15.8 kB / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.005136, allocations: 139.3 kB / 0.9553 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.005242, allocations: 91.62 kB / 0.9554 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 7.715e-05/0.005319, allocations: 11.98 kB / 0.9554 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.005445, allocations: 63.81 kB / 0.9555 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.005508, allocations: 27.91 kB / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.005522, allocations: 4 kB / 0.9555 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.005691, allocations: 95.77 kB / 0.9556 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.005707, allocations: 19.88 kB / 0.9556 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.005734, allocations: 19.97 kB / 0.9556 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.005913, allocations: 135.6 kB / 0.9558 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005916, allocations: 3.938 kB / 0.9558 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.332e-06/0.005917, allocations: 4 kB / 0.9558 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.005922, allocations: 0 / 0.9558 GB, free: 14.05 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003881/0.00631, allocations: 321.9 kB / 0.9561 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.006346, allocations: 12.03 kB / 0.9561 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.006377, allocations: 34.75 kB / 0.9561 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.006502, allocations: 28.86 kB / 0.9562 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.006677, allocations: 125.7 kB / 0.9563 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.00669, allocations: 8.375 kB / 0.9563 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.006723, allocations: 4.375 kB / 0.9563 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.006948, allocations: 82.14 kB / 0.9564 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.006954, allocations: 192 / 0.9564 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.006965, allocations: 7.938 kB / 0.9564 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.006969, allocations: 0 / 0.9564 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.007086, allocations: 79.81 kB / 0.9564 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.007399, allocations: 287.9 kB / 0.9567 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.007538, allocations: 90.48 kB / 0.9568 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.007599, allocations: 44.95 kB / 0.9568 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.007978, allocations: 344.3 kB / 0.9572 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.007997, allocations: 38.56 kB / 0.9572 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.007998, allocations: 0 / 0.9572 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002574/0.008255, allocations: 133.6 kB / 0.9573 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.008283, allocations: 55.5 kB / 0.9574 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/0.008357, allocations: 129.7 kB / 0.9575 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.008371, allocations: 29.7 kB / 0.9575 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.008419, allocations: 92.09 kB / 0.9576 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.008436, allocations: 31.73 kB / 0.9577 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.008467, allocations: 17.72 kB / 0.9577 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.008545, allocations: 326.8 kB / 0.958 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.008595, allocations: 27.98 kB / 0.958 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.008651, allocations: 45.62 kB / 0.9581 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.008754, allocations: 81.69 kB / 0.9581 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.008756, allocations: 3.938 kB / 0.9581 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001386/0.008894, allocations: 117.6 kB / 0.9583 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.008907, allocations: 4 kB / 0.9583 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.008911, allocations: 112 / 0.9583 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.008922, allocations: 3.938 kB / 0.9583 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.009002, allocations: 23.92 kB / 0.9583 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.009008, allocations: 400 / 0.9583 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.009041, allocations: 19.86 kB / 0.9583 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.009049, allocations: 4 kB / 0.9583 GB, free: 11.23 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 5.744e-05/0.009107, allocations: 113.8 kB / 0.9584 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.009123, allocations: 11.97 kB / 0.9584 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.0093, allocations: 118.1 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.009302, allocations: 4 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.009305, allocations: 0 / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.00931, allocations: 7.922 kB / 0.9586 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.009426, allocations: 152.7 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009427, allocations: 3.938 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.009477, allocations: 19.98 kB / 0.9587 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.009479, allocations: 4 kB / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.009487, allocations: 3.984 kB / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009488, allocations: 0 / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009489, allocations: 0 / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.009642, allocations: 203.4 kB / 0.9589 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.009649, allocations: 7.953 kB / 0.9589 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.009661, allocations: 4 kB / 0.9589 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.009706, allocations: 11.98 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.009738, allocations: 0 / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.009745, allocations: 11.92 kB / 0.959 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.54e-05/0.00978, allocations: 104.1 kB / 0.9591 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00978, allocations: 192 / 0.9591 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001709/0.009951, allocations: 23.94 kB / 0.9591 GB, free: 10.36 MB / 0.9167 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 (8): * Single equations (assignments): 8 * 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.0004042/0.01036, allocations: 0.7514 MB / 0.9598 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.01051, allocations: 79.95 kB / 0.9599 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.01051, allocations: 3.938 kB / 0.9599 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.944e-05/0.01056, allocations: 31.98 kB / 0.9599 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.01075, allocations: 11.94 kB / 0.9599 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.01196, allocations: 1.519 MB / 0.9614 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01201, allocations: 79.27 kB / 0.9615 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.01205, allocations: 8.547 kB / 0.9615 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.01209, allocations: 24.48 kB / 0.9615 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.01209, allocations: 0 / 0.9615 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.02835, allocations: 2.992 MB / 0.9644 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/6.864, allocations: 7.547 kB / 0.9645 GB, free: 4.871 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.725717399269342]