Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.2 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.487, allocations: 140.4 MB / 0.9497 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002111/0.4891, allocations: 1.597 MB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002399/0.4915, allocations: 3.271 MB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.4916, allocations: 0.9375 kB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.4916, allocations: 7.875 kB / 0.9545 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.4917, allocations: 18.17 kB / 0.9545 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.492, allocations: 113.2 kB / 0.9546 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.4921, allocations: 80.61 kB / 0.9547 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.126e-05/0.4922, allocations: 14.05 kB / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.4923, allocations: 43.81 kB / 0.9547 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.4924, allocations: 35.31 kB / 0.9548 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.4924, allocations: 5.406 kB / 0.9548 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.4926, allocations: 100.3 kB / 0.9549 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.4926, allocations: 18.42 kB / 0.9549 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.4927, allocations: 23.69 kB / 0.9549 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.4929, allocations: 129 kB / 0.955 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4929, allocations: 1.344 kB / 0.955 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4929, allocations: 0 / 0.955 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.4929, allocations: 0 / 0.955 GB, free: 4.773 MB / 0.7169 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.000413/0.4933, allocations: 390.5 kB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.4933, allocations: 13.2 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.4934, allocations: 35.78 kB / 0.9555 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.4934, allocations: 9.031 kB / 0.9555 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.901e-05/0.4935, allocations: 167.7 kB / 0.9556 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4935, allocations: 14.09 kB / 0.9556 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.4935, allocations: 2.844 kB / 0.9556 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.4937, allocations: 86.27 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4937, allocations: 0 / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4937, allocations: 5.219 kB / 0.9557 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4937, allocations: 1.219 kB / 0.9557 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.4939, allocations: 73.38 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.4942, allocations: 330.2 kB / 0.9561 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.4944, allocations: 98.7 kB / 0.9562 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.4945, allocations: 45.23 kB / 0.9563 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005551/0.4951, allocations: 0.751 MB / 0.957 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.4951, allocations: 35.8 kB / 0.957 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.4951, allocations: 3.938 kB / 0.957 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003296/0.4955, allocations: 137.3 kB / 0.9572 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.4955, allocations: 60.61 kB / 0.9572 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.4955, allocations: 120.5 kB / 0.9573 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.4956, allocations: 25.7 kB / 0.9574 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.4956, allocations: 91.42 kB / 0.9574 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.4956, allocations: 31.2 kB / 0.9575 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.4957, allocations: 23.36 kB / 0.9575 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.091e-05/0.4957, allocations: 316.8 kB / 0.9578 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.4958, allocations: 27.89 kB / 0.9578 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.4958, allocations: 48 kB / 0.9579 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.496, allocations: 82.95 kB / 0.9579 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.496, allocations: 0 / 0.9579 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001882/0.4962, allocations: 108 kB / 0.958 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4962, allocations: 15.5 kB / 0.9581 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4962, allocations: 0 / 0.9581 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.4962, allocations: 5.125 kB / 0.9581 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.4964, allocations: 18.8 kB / 0.9581 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4964, allocations: 1.406 kB / 0.9581 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.4965, allocations: 16.45 kB / 0.9581 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4965, allocations: 1.406 kB / 0.9581 GB, free: 1.773 MB / 0.7169 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.531e-05/0.4965, allocations: 116.8 kB / 0.9582 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.4966, allocations: 15.91 kB / 0.9582 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.4968, allocations: 128.9 kB / 0.9584 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4968, allocations: 5.891 kB / 0.9584 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.4968, allocations: 0 / 0.9584 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.4968, allocations: 0 / 0.9584 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.4969, allocations: 184.8 kB / 0.9585 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.497, allocations: 0 / 0.9585 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.4971, allocations: 22.3 kB / 0.9586 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4971, allocations: 3.938 kB / 0.9586 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4971, allocations: 9.531 kB / 0.9586 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4971, allocations: 0 / 0.9586 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4971, allocations: 3.984 kB / 0.9586 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.4973, allocations: 201.3 kB / 0.9588 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.4973, allocations: 87.45 kB / 0.9589 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.4974, allocations: 5.5 kB / 0.9589 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.4974, allocations: 3.125 kB / 0.9589 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.4975, allocations: 10.27 kB / 0.9589 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4975, allocations: 2.469 kB / 0.9589 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.4975, allocations: 92.52 kB / 0.959 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4975, allocations: 0 / 0.959 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002353/0.4978, allocations: 21.38 kB / 0.959 GB, free: 0.9414 MB / 0.7169 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.0003911/0.4982, allocations: 0.7649 MB / 0.9597 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4984, allocations: 73.45 kB / 0.9598 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4984, allocations: 4.062 kB / 0.9598 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.4985, allocations: 48.66 kB / 0.9598 GB, free: 172 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.4987, allocations: 2.75 kB / 0.9598 GB, free: 172 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.4992, allocations: 257.7 kB / 0.9601 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.4994, allocations: 0.6888 MB / 0.9608 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.708e-05/0.4995, allocations: 12.05 kB / 0.9608 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.4995, allocations: 19.56 kB / 0.9608 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.4995, allocations: 4 kB / 0.9608 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2405/0.74, allocations: 2.205 MB / 0.963 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/8.281, allocations: 10.95 kB / 0.963 GB, free: 14.05 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches