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.001759/0.001759, allocations: 111 kB / 16.46 MB, free: 6.504 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.001996/0.001996, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.701/2.701, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 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.001944/0.001944, allocations: 67.89 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8138, allocations: 168.7 MB / 1.269 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002881/0.8167, allocations: 1.613 MB / 1.27 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003897/0.8206, allocations: 3.281 MB / 1.274 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.8206, allocations: 0 / 1.274 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.8207, allocations: 7.922 kB / 1.274 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.8207, allocations: 11.86 kB / 1.274 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.8212, allocations: 127.5 kB / 1.274 GB, free: 88 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.8213, allocations: 75.72 kB / 1.274 GB, free: 12 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.8214, allocations: 12.17 kB / 1.274 GB, free: 0 / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.8216, allocations: 35.86 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.8217, allocations: 43.81 kB / 1.274 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.8217, allocations: 4 kB / 1.274 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.822, allocations: 111.8 kB / 1.274 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.822, allocations: 19.91 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.8221, allocations: 27.86 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.8223, allocations: 121.4 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8223, allocations: 0 / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8223, allocations: 0 / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.8223, allocations: 0 / 1.274 GB, free: 15.64 MB / 0.9825 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.0006264/0.8229, allocations: 395.1 kB / 1.275 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.823, allocations: 15.97 kB / 1.275 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.823, allocations: 38.69 kB / 1.275 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.8231, allocations: 12.83 kB / 1.275 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.8232, allocations: 168.3 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.8232, allocations: 4.375 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.8233, allocations: 8.125 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.8235, allocations: 77.64 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8235, allocations: 0 / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.8235, allocations: 8 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.8235, allocations: 4 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.8237, allocations: 75.88 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.8242, allocations: 320.7 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.8245, allocations: 82.55 kB / 1.275 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.8246, allocations: 44.94 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008764/0.8254, allocations: 0.7606 MB / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.8255, allocations: 34.56 kB / 1.276 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.8255, allocations: 0 / 1.276 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004012/0.8259, allocations: 137.5 kB / 1.276 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.8259, allocations: 55.39 kB / 1.276 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.826, allocations: 121.8 kB / 1.276 GB, free: 13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.826, allocations: 29.7 kB / 1.276 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.8261, allocations: 100.1 kB / 1.277 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.8261, allocations: 27.73 kB / 1.277 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.8262, allocations: 25.7 kB / 1.277 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.8263, allocations: 314.8 kB / 1.277 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.8264, allocations: 23.98 kB / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.8265, allocations: 49.69 kB / 1.277 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.8267, allocations: 81.98 kB / 1.277 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8267, allocations: 0 / 1.277 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002332/0.8269, allocations: 113.5 kB / 1.277 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8269, allocations: 4 kB / 1.277 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8269, allocations: 0 / 1.277 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.8269, allocations: 7.938 kB / 1.277 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.8271, allocations: 20.02 kB / 1.277 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.8271, allocations: 7.938 kB / 1.277 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.8272, allocations: 16.11 kB / 1.277 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.8272, allocations: 0 / 1.277 GB, free: 12.15 MB / 0.9825 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 9.517e-05/0.8273, allocations: 117.8 kB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.8273, allocations: 7.953 kB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.8276, allocations: 129.9 kB / 1.277 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.8276, allocations: 3.984 kB / 1.277 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8276, allocations: 3.938 kB / 1.277 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8276, allocations: 0 / 1.277 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.8279, allocations: 185.6 kB / 1.278 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.8279, allocations: 0 / 1.278 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.828, allocations: 19.92 kB / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.828, allocations: 7.984 kB / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.828, allocations: 3.938 kB / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.828, allocations: 0 / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.828, allocations: 4 kB / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.8283, allocations: 203.4 kB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.8283, allocations: 89 kB / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.8284, allocations: 7.938 kB / 1.278 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.8285, allocations: 4 kB / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.8285, allocations: 7.984 kB / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.8285, allocations: 4 kB / 1.278 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.009e-05/0.8286, allocations: 99.2 kB / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8286, allocations: 0 / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002637/0.8288, allocations: 20 kB / 1.278 GB, free: 11.14 MB / 0.9825 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.0007312/0.8296, allocations: 0.7475 MB / 1.279 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.8298, allocations: 83.81 kB / 1.279 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8298, allocations: 0 / 1.279 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/0.8299, allocations: 40.44 kB / 1.279 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.8302, allocations: 4 kB / 1.279 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.8309, allocations: 255.4 kB / 1.279 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.8312, allocations: 0.6961 MB / 1.28 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.176e-05/0.8312, allocations: 12.14 kB / 1.28 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.8313, allocations: 23.42 kB / 1.28 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8313, allocations: 0 / 1.28 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.8556, allocations: 2.275 MB / 1.282 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.63, allocations: 15.88 kB / 1.282 GB, free: 7.062 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.583081095013767]