Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009329/0.0009329, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001586/0.001586, allocations: 181 kB / 23.36 MB, free: 1.133 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.9596/0.9596, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.345/2.345, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.06e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002679/0.0027, allocations: 1.672 MB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004032/0.006732, allocations: 3.413 MB / 0.8436 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.006797, allocations: 0 / 0.8436 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.00683, allocations: 7.922 kB / 0.8436 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.006911, allocations: 19.86 kB / 0.8436 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.007451, allocations: 143.2 kB / 0.8437 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.007575, allocations: 87.69 kB / 0.8438 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.584e-05/0.007651, allocations: 11.98 kB / 0.8438 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.007797, allocations: 51.89 kB / 0.8439 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.007879, allocations: 31.89 kB / 0.8439 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.007895, allocations: 12 kB / 0.8439 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.008131, allocations: 95.72 kB / 0.844 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.008151, allocations: 15.92 kB / 0.844 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.008184, allocations: 23.91 kB / 0.8441 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.008417, allocations: 115.6 kB / 0.8442 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.00842, allocations: 0 / 0.8442 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.173e-06/0.008422, allocations: 4 kB / 0.8442 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.008425, allocations: 0 / 0.8442 GB, free: 8.48 MB / 0.8073 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.000398/0.008823, allocations: 288.2 kB / 0.8445 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.008858, allocations: 12.62 kB / 0.8445 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.009017, allocations: 24.91 kB / 0.8445 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.009168, allocations: 133.7 kB / 0.8446 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.009177, allocations: 384 / 0.8446 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.00919, allocations: 4.375 kB / 0.8446 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.009324, allocations: 82.17 kB / 0.8447 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.009331, allocations: 0 / 0.8447 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.00934, allocations: 4 kB / 0.8447 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.009346, allocations: 11.94 kB / 0.8447 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.429e-05/0.0094, allocations: 23.97 kB / 0.8447 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.00968, allocations: 196.2 kB / 0.8449 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.009802, allocations: 66.5 kB / 0.845 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.009836, allocations: 24.97 kB / 0.845 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004431/0.01028, allocations: 318.6 kB / 0.8453 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.0103, allocations: 34.55 kB / 0.8453 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.0103, allocations: 0 / 0.8453 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001656/0.01047, allocations: 69.7 kB / 0.8454 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.0105, allocations: 51.41 kB / 0.8455 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.01059, allocations: 133.8 kB / 0.8456 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.0106, allocations: 25.7 kB / 0.8456 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.01064, allocations: 88.14 kB / 0.8457 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.01067, allocations: 35.72 kB / 0.8457 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.0107, allocations: 13.83 kB / 0.8457 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.01081, allocations: 338.7 kB / 0.8461 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.01083, allocations: 4 kB / 0.8461 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.01087, allocations: 29.69 kB / 0.8461 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/0.01093, allocations: 37.94 kB / 0.8461 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01093, allocations: 0 / 0.8461 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001059/0.01104, allocations: 65.66 kB / 0.8462 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.01105, allocations: 4 kB / 0.8462 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01105, allocations: 4 kB / 0.8462 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01107, allocations: 0 / 0.8462 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.01116, allocations: 27.95 kB / 0.8462 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01116, allocations: 0 / 0.8462 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.01121, allocations: 19.83 kB / 0.8463 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.01122, allocations: 0 / 0.8463 GB, free: 6.176 MB / 0.8073 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.864e-05/0.01129, allocations: 117.8 kB / 0.8464 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.01132, allocations: 8 kB / 0.8464 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.01145, allocations: 74.22 kB / 0.8464 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01145, allocations: 4 kB / 0.8465 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.01146, allocations: 4 kB / 0.8465 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01146, allocations: 0 / 0.8465 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.01162, allocations: 85.81 kB / 0.8465 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01162, allocations: 0 / 0.8465 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.01168, allocations: 19.98 kB / 0.8466 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01168, allocations: 0 / 0.8466 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.01169, allocations: 0 / 0.8466 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01169, allocations: 0 / 0.8466 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01169, allocations: 0 / 0.8466 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.01181, allocations: 163.4 kB / 0.8467 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.01183, allocations: 7.953 kB / 0.8467 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.01184, allocations: 8 kB / 0.8467 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.01193, allocations: 7.984 kB / 0.8467 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.01196, allocations: 3.984 kB / 0.8467 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.01197, allocations: 0 / 0.8467 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.01199, allocations: 20.84 kB / 0.8468 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01199, allocations: 3.938 kB / 0.8468 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002386/0.01223, allocations: 23.94 kB / 0.8468 GB, free: 5.586 MB / 0.8073 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.0001664/0.0124, allocations: 96.33 kB / 0.8469 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.01249, allocations: 48.72 kB / 0.8469 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.01249, allocations: 4 kB / 0.8469 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.01253, allocations: 16.86 kB / 0.8469 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.01271, allocations: 15.92 kB / 0.847 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.01328, allocations: 216.9 kB / 0.8472 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.01332, allocations: 59.34 kB / 0.8472 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.343e-05/0.01338, allocations: 8.406 kB / 0.8472 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.01345, allocations: 63.36 kB / 0.8473 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.01345, allocations: 4 kB / 0.8473 GB, free: 5 MB / 0.8073 GB Notification: Performance of Templates: time 0.003554/0.017, allocations: 1.099 MB / 0.8484 GB, free: 3.914 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.161679843906313]