Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008741/0.0008741, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008566/0.0008566, allocations: 165.9 kB / 22.46 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.9132/0.9132, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.691/1.691, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.364e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003059/0.003082, allocations: 1.611 MB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003965/0.007048, allocations: 3.11 MB / 0.9856 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.007133, allocations: 7.938 kB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.007169, allocations: 3.938 kB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.492e-05/0.007264, allocations: 15.8 kB / 0.9857 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.007911, allocations: 139.4 kB / 0.9858 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.008068, allocations: 83.72 kB / 0.9859 GB, free: 13.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.008173, allocations: 11.97 kB / 0.9859 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.008355, allocations: 59.83 kB / 0.9859 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.008442, allocations: 31.89 kB / 0.986 GB, free: 13.45 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.00846, allocations: 4 kB / 0.986 GB, free: 13.45 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.008703, allocations: 95.67 kB / 0.9861 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.008726, allocations: 19.97 kB / 0.9861 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.008763, allocations: 19.92 kB / 0.9861 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.009032, allocations: 139.6 kB / 0.9862 GB, free: 13.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.009036, allocations: 0 / 0.9862 GB, free: 13.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.144e-06/0.009038, allocations: 0 / 0.9862 GB, free: 13.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.009044, allocations: 0 / 0.9862 GB, free: 13.18 MB / 0.948 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.000569/0.009613, allocations: 321.9 kB / 0.9865 GB, free: 12.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.009668, allocations: 16.02 kB / 0.9866 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.009713, allocations: 30.75 kB / 0.9866 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.00992, allocations: 28.88 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.0102, allocations: 141.6 kB / 0.9867 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.01022, allocations: 4.375 kB / 0.9867 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.01023, allocations: 4.375 kB / 0.9868 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.01044, allocations: 82.14 kB / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01045, allocations: 192 / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.01046, allocations: 7.938 kB / 0.9868 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.01047, allocations: 0 / 0.9868 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.01064, allocations: 71.94 kB / 0.9869 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.01127, allocations: 303.7 kB / 0.9872 GB, free: 12.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.01148, allocations: 90.47 kB / 0.9873 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.01156, allocations: 32.84 kB / 0.9873 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/0.01211, allocations: 356.3 kB / 0.9877 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.01214, allocations: 34.56 kB / 0.9877 GB, free: 11.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.01214, allocations: 288 / 0.9877 GB, free: 11.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0003566/0.0125, allocations: 133.5 kB / 0.9878 GB, free: 11.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.01254, allocations: 59.39 kB / 0.9879 GB, free: 11.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.01264, allocations: 127.6 kB / 0.988 GB, free: 11.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.01265, allocations: 25.7 kB / 0.988 GB, free: 11.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.01271, allocations: 96.09 kB / 0.9881 GB, free: 11.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.01273, allocations: 31.73 kB / 0.9881 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.01278, allocations: 21.72 kB / 0.9882 GB, free: 11.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.01288, allocations: 322.8 kB / 0.9885 GB, free: 10.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.01296, allocations: 27.98 kB / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.01304, allocations: 45.62 kB / 0.9885 GB, free: 10.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.01319, allocations: 77.69 kB / 0.9886 GB, free: 10.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01319, allocations: 0 / 0.9886 GB, free: 10.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000206/0.0134, allocations: 117.5 kB / 0.9887 GB, free: 10.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.01342, allocations: 4 kB / 0.9887 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01342, allocations: 0 / 0.9887 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01344, allocations: 0 / 0.9887 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.01355, allocations: 19.98 kB / 0.9887 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01355, allocations: 0 / 0.9887 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.01361, allocations: 11.88 kB / 0.9888 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01362, allocations: 8 kB / 0.9888 GB, free: 10.36 MB / 0.948 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 8.802e-05/0.01371, allocations: 121.9 kB / 0.9889 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.01374, allocations: 7.953 kB / 0.9889 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.01399, allocations: 122.5 kB / 0.989 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01399, allocations: 4.109 kB / 0.989 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.014, allocations: 3.938 kB / 0.989 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.014, allocations: 3.938 kB / 0.989 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.01418, allocations: 156.7 kB / 0.9892 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01418, allocations: 0 / 0.9892 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.01426, allocations: 23.98 kB / 0.9892 GB, free: 9.867 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01426, allocations: 0 / 0.9892 GB, free: 9.867 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.01427, allocations: 0 / 0.9892 GB, free: 9.867 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01428, allocations: 4.078 kB / 0.9892 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01428, allocations: 3.984 kB / 0.9892 GB, free: 9.859 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.01451, allocations: 211.4 kB / 0.9894 GB, free: 9.637 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.01452, allocations: 3.953 kB / 0.9894 GB, free: 9.633 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.01454, allocations: 4 kB / 0.9894 GB, free: 9.629 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.01461, allocations: 8 kB / 0.9894 GB, free: 9.621 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.01466, allocations: 7.984 kB / 0.9894 GB, free: 9.613 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.01467, allocations: 7.938 kB / 0.9894 GB, free: 9.605 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.01472, allocations: 94.64 kB / 0.9895 GB, free: 9.516 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01472, allocations: 0 / 0.9895 GB, free: 9.516 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002901/0.01501, allocations: 35.88 kB / 0.9896 GB, free: 9.48 MB / 0.948 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.0005836/0.01559, allocations: 0.7436 MB / 0.9903 GB, free: 8.711 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.0158, allocations: 75.95 kB / 0.9904 GB, free: 8.637 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.0158, allocations: 0 / 0.9904 GB, free: 8.637 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/0.01588, allocations: 39.91 kB / 0.9904 GB, free: 8.598 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.01617, allocations: 10.17 kB / 0.9904 GB, free: 8.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.0177, allocations: 1.515 MB / 0.9919 GB, free: 6.984 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.579e-05/0.01777, allocations: 85.64 kB / 0.992 GB, free: 6.883 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.896e-05/0.01782, allocations: 15.92 kB / 0.992 GB, free: 6.867 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.01788, allocations: 28.48 kB / 0.992 GB, free: 6.836 MB / 0.948 GB Notification: Performance of SimCode: time 1.322e-06/0.01789, allocations: 0 / 0.992 GB, free: 6.836 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.03917, allocations: 2.985 MB / 0.9949 GB, free: 3.988 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.024, allocations: 6.938 kB / 0.9949 GB, free: 3.984 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.377175562083721]