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.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.001369/0.001369, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001423/0.001423, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] 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.487/2.487, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 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.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 0.001817/0.001817, allocations: 71.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7289, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002064/0.731, allocations: 1.635 MB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002545/0.7335, allocations: 3.292 MB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.7335, allocations: 0.75 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.7336, allocations: 4.922 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.7336, allocations: 21.11 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.734, allocations: 117.6 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.987e-05/0.7341, allocations: 85.61 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.274e-05/0.7341, allocations: 6.203 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.7342, allocations: 40.91 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.7343, allocations: 42.03 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.7343, allocations: 10.59 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.7345, allocations: 102.7 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.7346, allocations: 14.58 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.7346, allocations: 35.3 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.7348, allocations: 120.5 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7348, allocations: 0.875 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7348, allocations: 0 / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7348, allocations: 1.125 kB / 1.277 GB, free: 3.922 MB / 0.9981 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.0004009/0.7352, allocations: 396.5 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.7352, allocations: 9.125 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.589e-05/0.7352, allocations: 43.69 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.7353, allocations: 8.578 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.454e-05/0.7353, allocations: 169.5 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.7353, allocations: 2.438 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.7354, allocations: 8.891 kB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.7355, allocations: 82.72 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7355, allocations: 4.75 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.7355, allocations: 4.625 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7356, allocations: 0.875 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.7357, allocations: 77.2 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.7361, allocations: 326.2 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.7363, allocations: 84.38 kB / 1.278 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.7363, allocations: 41.94 kB / 1.278 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005459/0.7369, allocations: 0.7557 MB / 1.279 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.7369, allocations: 35.34 kB / 1.279 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.7369, allocations: 0.6875 kB / 1.279 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0003431/0.7373, allocations: 141.8 kB / 1.279 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.7373, allocations: 53.69 kB / 1.279 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.7373, allocations: 117.1 kB / 1.279 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.7373, allocations: 26.58 kB / 1.279 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.7374, allocations: 104.6 kB / 1.279 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.7374, allocations: 28.67 kB / 1.279 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.453e-05/0.7374, allocations: 21.97 kB / 1.279 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.335e-05/0.7374, allocations: 320.2 kB / 1.28 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.7375, allocations: 29 kB / 1.28 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.7376, allocations: 47.48 kB / 1.28 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.7378, allocations: 77.78 kB / 1.28 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7378, allocations: 0 / 1.28 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002013/0.738, allocations: 111.9 kB / 1.28 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.738, allocations: 5.031 kB / 1.28 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.738, allocations: 0.7812 kB / 1.28 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.738, allocations: 5.078 kB / 1.28 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.7381, allocations: 23.95 kB / 1.28 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.7381, allocations: 6.172 kB / 1.28 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.7382, allocations: 13.25 kB / 1.28 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.7382, allocations: 3 kB / 1.28 GB, free: 1.109 MB / 0.9981 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 4.448e-05/0.7382, allocations: 118.3 kB / 1.28 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.7383, allocations: 7.047 kB / 1.28 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.7385, allocations: 132.3 kB / 1.28 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.7385, allocations: 1.062 kB / 1.28 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.7385, allocations: 0 / 1.28 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7385, allocations: 9 kB / 1.28 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.7387, allocations: 187.8 kB / 1.28 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7387, allocations: 3.938 kB / 1.28 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.685e-05/0.7388, allocations: 16.38 kB / 1.28 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7388, allocations: 0.9688 kB / 1.28 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.7388, allocations: 5.719 kB / 1.28 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7388, allocations: 4.844 kB / 1.28 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7388, allocations: 1.266 kB / 1.28 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.739, allocations: 196.2 kB / 1.281 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.739, allocations: 88.47 kB / 1.281 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.739, allocations: 6.266 kB / 1.281 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.7391, allocations: 6.328 kB / 1.281 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.7391, allocations: 13.75 kB / 1.281 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.7391, allocations: 1.75 kB / 1.281 GB, free: 428 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.974e-05/0.7392, allocations: 95.34 kB / 1.281 GB, free: 344 kB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7392, allocations: 0 / 1.281 GB, free: 344 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002304/0.7394, allocations: 21.12 kB / 1.281 GB, free: 340 kB / 0.9981 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.0005081/0.7399, allocations: 0.7509 MB / 1.281 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.7401, allocations: 77.78 kB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.7401, allocations: 1.031 kB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.7402, allocations: 39.64 kB / 1.282 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.7405, allocations: 17.56 kB / 1.282 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.741, allocations: 251.6 kB / 1.282 GB, free: 15.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.7413, allocations: 0.6968 MB / 1.283 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.085e-05/0.7413, allocations: 13.48 kB / 1.283 GB, free: 14.69 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.7414, allocations: 22.98 kB / 1.283 GB, free: 14.68 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.7414, allocations: 0 / 1.283 GB, free: 14.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.765, allocations: 2.241 MB / 1.285 GB, free: 14.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.732, allocations: 13.06 kB / 1.285 GB, free: 14.22 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable rayleighNumber.Ra in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.070322989995475]