Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00081/0.00081, 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.0008371/0.0008371, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.8859/0.8859, allocations: 177.2 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.76/1.76, allocations: 389 MB / 0.633 GB, free: 12.69 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.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.319e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002138/0.002162, allocations: 1.604 MB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.004966, allocations: 3.122 MB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.00504, allocations: 4 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.005074, allocations: 7.875 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.005146, allocations: 15.8 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.005654, allocations: 139.4 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.005767, allocations: 87.64 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.00585, allocations: 4 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.005981, allocations: 63.81 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.006048, allocations: 31.89 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.006064, allocations: 4 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.006236, allocations: 87.8 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.006254, allocations: 27.91 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.006279, allocations: 15.98 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.006462, allocations: 143.4 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006464, allocations: 0 / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.332e-06/0.006465, allocations: 0 / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.006469, allocations: 0 / 1.005 GB, free: 8.07 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004079/0.006877, allocations: 325.9 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.006918, allocations: 12.75 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.006954, allocations: 34.75 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.007074, allocations: 28.88 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.007239, allocations: 129.7 kB / 1.005 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.007249, allocations: 4.375 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.007261, allocations: 12.11 kB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.007403, allocations: 81.58 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.00741, allocations: 0 / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.007419, allocations: 4 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.007424, allocations: 0 / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.00754, allocations: 79.88 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.007877, allocations: 283.9 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.008026, allocations: 90.48 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.008087, allocations: 44.83 kB / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/0.008472, allocations: 348.3 kB / 1.006 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.008492, allocations: 34.56 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.008493, allocations: 0 / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002583/0.008752, allocations: 137.8 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.00878, allocations: 55.41 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.008848, allocations: 128.4 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.008859, allocations: 37.64 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.008909, allocations: 96.03 kB / 1.007 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.008929, allocations: 35.72 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.008958, allocations: 17.72 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.009029, allocations: 322.8 kB / 1.007 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.009077, allocations: 27.98 kB / 1.007 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.009131, allocations: 41.69 kB / 1.007 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.009236, allocations: 89.92 kB / 1.007 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.009238, allocations: 0 / 1.007 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001345/0.009372, allocations: 113.6 kB / 1.007 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.009385, allocations: 4 kB / 1.007 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.009391, allocations: 112 / 1.007 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.009405, allocations: 7.875 kB / 1.007 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.009485, allocations: 23.92 kB / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.009489, allocations: 0 / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.009521, allocations: 12.03 kB / 1.007 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.009529, allocations: 7.984 kB / 1.007 GB, free: 5.234 MB / 0.9636 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.441e-05/0.009584, allocations: 113.8 kB / 1.008 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.0096, allocations: 7.953 kB / 1.008 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.009771, allocations: 122 kB / 1.008 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.009773, allocations: 3.938 kB / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.009777, allocations: 0 / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.00978, allocations: 0 / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.009901, allocations: 160.7 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.009902, allocations: 0 / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.009948, allocations: 19.98 kB / 1.008 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.00995, allocations: 192 / 1.008 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.009957, allocations: 3.984 kB / 1.008 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.009959, allocations: 7.875 kB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00996, allocations: 0 / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.01011, allocations: 199.5 kB / 1.008 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.01011, allocations: 7.891 kB / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.01013, allocations: 15.94 kB / 1.008 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.01017, allocations: 7.938 kB / 1.008 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.01021, allocations: 3.984 kB / 1.008 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.01021, allocations: 4 kB / 1.008 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.01025, allocations: 95.27 kB / 1.008 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01025, allocations: 0 / 1.008 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001703/0.01042, allocations: 23.98 kB / 1.008 GB, free: 4.383 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 (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.0004864/0.0109, allocations: 0.7553 MB / 1.009 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.01105, allocations: 75.89 kB / 1.009 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01105, allocations: 3.938 kB / 1.009 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.0111, allocations: 39.91 kB / 1.009 GB, free: 3.48 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.01129, allocations: 16.36 kB / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01233, allocations: 1.516 MB / 1.011 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.01238, allocations: 71.33 kB / 1.011 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.01241, allocations: 8 kB / 1.011 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.01246, allocations: 24.58 kB / 1.011 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.01246, allocations: 3.938 kB / 1.011 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.02958, allocations: 2.984 MB / 1.014 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.103, allocations: 17.83 kB / 1.014 GB, free: 14.88 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.234958687797189]