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.000801/0.000801, 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.0008146/0.0008146, allocations: 165.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.8718/0.8718, 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 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.612/1.612, 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 2.174e-06/2.174e-06, allocations: 0 / 0.9505 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.337e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002566/0.002589, allocations: 1.604 MB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002523/0.005112, allocations: 3.133 MB / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.005164, allocations: 0 / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.005192, allocations: 3.938 kB / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.005255, allocations: 19.8 kB / 0.9552 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.005695, allocations: 139.4 kB / 0.9553 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.005793, allocations: 79.72 kB / 0.9554 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.005877, allocations: 15.97 kB / 0.9554 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.006, allocations: 55.88 kB / 0.9555 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.006068, allocations: 31.91 kB / 0.9555 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.006081, allocations: 4 kB / 0.9555 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.006239, allocations: 99.66 kB / 0.9556 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.006256, allocations: 15.97 kB / 0.9556 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.006282, allocations: 27.86 kB / 0.9556 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.006458, allocations: 135.6 kB / 0.9558 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00646, allocations: 4 kB / 0.9558 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006462, allocations: 0 / 0.9558 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.006465, allocations: 0 / 0.9558 GB, free: 14.04 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.000392/0.006858, allocations: 317.9 kB / 0.9561 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.006894, allocations: 12.02 kB / 0.9561 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.006924, allocations: 38.75 kB / 0.9561 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.007056, allocations: 24.88 kB / 0.9561 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.007222, allocations: 141.6 kB / 0.9563 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.007231, allocations: 4.375 kB / 0.9563 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.007242, allocations: 4.375 kB / 0.9563 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.007381, allocations: 78.2 kB / 0.9564 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.007388, allocations: 192 / 0.9564 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.007399, allocations: 7.938 kB / 0.9564 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.007405, allocations: 4 kB / 0.9564 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.007521, allocations: 67.95 kB / 0.9564 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.007845, allocations: 291.8 kB / 0.9567 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.008036, allocations: 82.48 kB / 0.9568 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.008092, allocations: 44.83 kB / 0.9568 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.008473, allocations: 356.6 kB / 0.9572 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.008491, allocations: 38.5 kB / 0.9572 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.008492, allocations: 0 / 0.9572 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.00025/0.008742, allocations: 133.6 kB / 0.9573 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.008769, allocations: 51.41 kB / 0.9574 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.008836, allocations: 129 kB / 0.9575 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.008847, allocations: 29.69 kB / 0.9575 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.008891, allocations: 92.03 kB / 0.9576 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.008905, allocations: 27.75 kB / 0.9577 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.008938, allocations: 33.7 kB / 0.9577 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.382e-05/0.009012, allocations: 314.8 kB / 0.958 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.009059, allocations: 27.98 kB / 0.958 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.009113, allocations: 57.55 kB / 0.9581 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.009214, allocations: 81.69 kB / 0.9581 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.009216, allocations: 0 / 0.9581 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001295/0.009345, allocations: 117.5 kB / 0.9583 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.009357, allocations: 8 kB / 0.9583 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.009361, allocations: 0 / 0.9583 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.009372, allocations: 0 / 0.9583 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.009445, allocations: 19.98 kB / 0.9583 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.00945, allocations: 400 / 0.9583 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.00948, allocations: 7.938 kB / 0.9583 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.009487, 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 6.262e-05/0.009549, allocations: 121.8 kB / 0.9584 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.009563, allocations: 7.984 kB / 0.9584 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.009734, allocations: 122.1 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009736, allocations: 4.109 kB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.00974, allocations: 3.938 kB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.009744, allocations: 3.938 kB / 0.9586 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.00986, allocations: 152.7 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009861, allocations: 0 / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.009908, allocations: 15.98 kB / 0.9587 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.009909, allocations: 4 kB / 0.9587 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.009916, allocations: 4 kB / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.009919, allocations: 3.938 kB / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00992, allocations: 0 / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.01011, allocations: 211.4 kB / 0.9589 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.01012, allocations: 11.89 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.01014, allocations: 0 / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.0102, allocations: 4 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.01024, allocations: 7.984 kB / 0.9589 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.01025, allocations: 11.94 kB / 0.959 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.01029, allocations: 95.27 kB / 0.9591 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01029, allocations: 0 / 0.9591 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002587/0.01055, allocations: 24.19 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.0005666/0.01112, allocations: 0.7513 MB / 0.9598 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.01134, allocations: 79.84 kB / 0.9599 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01134, allocations: 0 / 0.9599 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.01141, allocations: 35.97 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.0002144/0.01163, allocations: 15.84 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.001022/0.01265, 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.579e-05/0.0127, allocations: 79.2 kB / 0.9615 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.901e-05/0.01274, allocations: 12.53 kB / 0.9615 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.01278, allocations: 20.5 kB / 0.9615 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.01278, allocations: 0 / 0.9615 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.02845, allocations: 2.996 MB / 0.9644 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/6.984, allocations: 7.312 kB / 0.9645 GB, free: 4.867 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 & 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/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] "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: 11.033677646890283]