Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 249.3 MB / 261.8 MB, free: 5.844 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 180.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008485/0.0008485, allocations: 90.53 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.206e-05/4.209e-05, allocations: 4 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2588, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.27, allocations: 353.5 MB / 1.237 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.271, allocations: 94.31 kB / 1.237 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02824/1.299, allocations: 12.33 MB / 1.249 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.423e-06/1.299, allocations: 4 kB / 1.249 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.299, allocations: 0 / 1.249 GB, free: 1.305 MB / 0.8542 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.0004702/1.299, allocations: 366.4 kB / 1.249 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/1.3, allocations: 12.03 kB / 1.249 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/1.3, allocations: 7.906 kB / 1.249 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/1.3, allocations: 186.8 kB / 1.25 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.3, allocations: 224 / 1.25 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/1.3, allocations: 4 kB / 1.25 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/1.3, allocations: 77.95 kB / 1.25 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/1.3, allocations: 0 / 1.25 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/1.3, allocations: 0 / 1.25 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.3, allocations: 11.97 kB / 1.25 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/1.3, allocations: 51.98 kB / 1.25 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/1.301, allocations: 328.7 kB / 1.25 GB, free: 144 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/1.301, allocations: 82.56 kB / 1.25 GB, free: 52 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/1.301, allocations: 32.86 kB / 1.25 GB, free: 16 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6184/1.919, allocations: 0.7535 MB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/1.919, allocations: 40.53 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.665e-06/1.919, allocations: 0 / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003302/1.92, allocations: 84.44 kB / 1.251 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.92, allocations: 58.56 kB / 1.251 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.92, allocations: 108.6 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/1.92, allocations: 31.02 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/1.92, allocations: 90.92 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/1.92, allocations: 28.48 kB / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/1.92, allocations: 4.062 kB / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/1.92, allocations: 318.9 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/1.92, allocations: 19.64 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/1.92, allocations: 38.03 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.427e-05/1.921, allocations: 21.45 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.921, allocations: 1.203 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002203/1.921, allocations: 101.7 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.921, allocations: 9.594 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.921, allocations: 0.7031 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.921, allocations: 1.469 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/1.921, allocations: 25.56 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.921, allocations: 2.781 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.193e-05/1.921, allocations: 10.66 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/1.921, allocations: 8.75 kB / 1.252 GB, free: 306.1 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.912e-05/1.921, allocations: 105.9 kB / 1.252 GB, free: 306 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/1.921, allocations: 11.03 kB / 1.252 GB, free: 306 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/1.922, allocations: 104.8 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.922, allocations: 1.344 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.922, allocations: 1.156 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.922, allocations: 1.875 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/1.922, allocations: 196.6 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.922, allocations: 3.344 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/1.922, allocations: 22.47 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.922, allocations: 1.188 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/1.922, allocations: 5.391 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.922, allocations: 1.062 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.922, allocations: 3.203 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/1.922, allocations: 181.3 kB / 1.253 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/1.922, allocations: 84.28 kB / 1.253 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/1.922, allocations: 6.297 kB / 1.253 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.922, allocations: 15.69 kB / 1.253 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/1.922, allocations: 5.578 kB / 1.253 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/1.922, allocations: 3.688 kB / 1.253 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.87e-05/1.923, allocations: 91.97 kB / 1.253 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.923, allocations: 0 / 1.253 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002792/1.923, allocations: 28.02 kB / 1.253 GB, free: 305.4 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/1.923, allocations: 136.3 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001787/1.923, allocations: 64.77 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.923, allocations: 0.625 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.91e-05/1.923, allocations: 34.22 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/1.924, allocations: 5.281 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/1.924, allocations: 107.3 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/1.924, allocations: 0.6953 MB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.195e-05/1.924, allocations: 9.672 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/1.924, allocations: 12.36 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/1.924, allocations: 1.031 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.004416/1.929, allocations: 1.25 MB / 1.255 GB, free: 304.5 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches