Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.0009151/0.0009151, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.0009031/0.0009031, allocations: 169 kB / 23.02 MB, free: 1.547 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.9167/0.9167, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.001/2.001, allocations: 429.5 MB / 0.6733 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.449e-05, allocations: 5.859 kB / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001909/0.001933, allocations: 1.646 MB / 0.8797 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002959, allocations: 0.9346 MB / 0.8807 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.003026, allocations: 8.625 kB / 0.8807 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.003241, allocations: 59.61 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.003616, allocations: 144.5 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.656e-05/0.003643, allocations: 17.52 kB / 0.8809 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.003927, allocations: 386 kB / 0.8812 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.003971, allocations: 14.59 kB / 0.8813 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.004194, allocations: 203.4 kB / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.004325, allocations: 122.6 kB / 0.8816 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.004356, allocations: 16 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.631e-05/0.004382, allocations: 16 kB / 0.8816 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.004437, allocations: 55.7 kB / 0.8817 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.004509, allocations: 79.78 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.004687, allocations: 199.2 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004689, allocations: 0 / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.92e-07/0.00469, allocations: 0 / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.004694, allocations: 0.7188 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006819/0.005376, allocations: 0.6796 MB / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.00541, allocations: 8.031 kB / 0.8826 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.005465, allocations: 36.69 kB / 0.8826 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.005761, allocations: 299.5 kB / 0.8829 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.00577, allocations: 384 / 0.8829 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.005782, allocations: 384 / 0.8829 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.005885, allocations: 80.92 kB / 0.883 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.005895, allocations: 192 / 0.883 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.005905, allocations: 8.375 kB / 0.883 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.005913, allocations: 3.938 kB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.005946, allocations: 11.92 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.006193, allocations: 283.7 kB / 0.8833 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.799e-05/0.006271, allocations: 112.3 kB / 0.8834 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.006316, allocations: 38.81 kB / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.006333, allocations: 4 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.006356, allocations: 41.39 kB / 0.8835 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.006357, allocations: 4 kB / 0.8835 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001916/0.006548, allocations: 101.3 kB / 0.8836 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.006594, allocations: 132.5 kB / 0.8837 GB, free: 408 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.006967, allocations: 0.4909 MB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.006978, allocations: 25.7 kB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.007083, allocations: 230.8 kB / 0.8844 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.00711, allocations: 19.83 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.007142, allocations: 27.36 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.007281, allocations: 0.5352 MB / 0.885 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.007304, allocations: 12.42 kB / 0.885 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.007336, allocations: 38.75 kB / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.616e-05/0.007402, allocations: 54.67 kB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007404, allocations: 0 / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001105/0.007514, allocations: 85.42 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007526, allocations: 8 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.00753, allocations: 128 / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.007544, allocations: 4 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.007621, allocations: 11.98 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.007628, allocations: 7.938 kB / 0.8852 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.0077, allocations: 11.94 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.007707, allocations: 11.88 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 7.192e-05/0.007779, allocations: 156.6 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.007814, allocations: 35.8 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.007999, allocations: 135.8 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.008001, allocations: 0 / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.008006, allocations: 7.938 kB / 0.8855 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.008009, allocations: 0 / 0.8855 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.008191, allocations: 264.5 kB / 0.8858 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008193, allocations: 3.938 kB / 0.8858 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.008244, allocations: 12 kB / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008247, allocations: 4 kB / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.008255, allocations: 3.984 kB / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008256, allocations: 0 / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008257, allocations: 4 kB / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.008406, allocations: 171.2 kB / 0.886 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.008488, allocations: 59.73 kB / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.008512, allocations: 4 kB / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.00858, allocations: 11.98 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.0086, allocations: 11.92 kB / 0.8861 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.008605, allocations: 4 kB / 0.8861 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002347/0.00884, allocations: 323 kB / 0.8864 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.00884, allocations: 0 / 0.8864 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001687/0.009009, allocations: 40 kB / 0.8864 GB, free: 13.43 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 7.16e-05/0.00908, allocations: 103.2 kB / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.009189, allocations: 39.59 kB / 0.8866 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.00919, allocations: 0 / 0.8866 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.009221, allocations: 27.62 kB / 0.8866 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.009483, allocations: 76.11 kB / 0.8867 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.01032, allocations: 0.5181 MB / 0.8872 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.946e-05/0.01038, allocations: 112.3 kB / 0.8873 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.131e-05/0.01046, allocations: 42.25 kB / 0.8873 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.01051, allocations: 24.5 kB / 0.8873 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of SimCode: time 3.31e-07/0.01052, allocations: 0 / 0.8873 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of Templates: time 0.005479/0.01599, allocations: 3.848 MB / 0.8911 GB, free: 8.664 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.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.224028907250613]