Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 116.8 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 192.5 kB / 17.31 MB, free: 5.613 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 60.98 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2685, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003844/0.2724, allocations: 1.589 MB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2742, allocations: 0.9228 MB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.2743, allocations: 0 / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.2746, allocations: 71.64 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.2752, allocations: 143.3 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.636e-05/0.2753, allocations: 11.91 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.2758, allocations: 370.3 kB / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.276, allocations: 44.75 kB / 0.9542 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.2762, allocations: 139.3 kB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.2765, allocations: 131.4 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.2765, allocations: 16 kB / 0.9544 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.227e-05/0.2766, allocations: 20 kB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.2767, allocations: 59.62 kB / 0.9545 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.2769, allocations: 131.2 kB / 0.9547 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.2773, allocations: 279 kB / 0.9549 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2773, allocations: 4 kB / 0.9549 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2773, allocations: 0 / 0.9549 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2773, allocations: 0 / 0.9549 GB, free: 4.133 MB / 0.7325 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.001426/0.2788, allocations: 0.6301 MB / 0.9555 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2788, allocations: 11.97 kB / 0.9555 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.2789, allocations: 36.56 kB / 0.9556 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.2796, allocations: 390.2 kB / 0.956 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2796, allocations: 384 / 0.956 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.2797, allocations: 8.375 kB / 0.956 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.2799, allocations: 101.4 kB / 0.9561 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2799, allocations: 0 / 0.9561 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2799, allocations: 0 / 0.9561 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2799, allocations: 0 / 0.9561 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.2801, allocations: 71.88 kB / 0.9561 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.2806, allocations: 356.1 kB / 0.9565 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.2808, allocations: 110.3 kB / 0.9566 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.281, allocations: 55.47 kB / 0.9566 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.281, allocations: 15.98 kB / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2811, allocations: 38.5 kB / 0.9567 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 4.599e-06/0.2811, allocations: 0 / 0.9567 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004875/0.2816, allocations: 181.1 kB / 0.9569 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.2817, allocations: 141 kB / 0.957 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000894/0.2826, allocations: 0.5171 MB / 0.9575 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.2826, allocations: 25.7 kB / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.2828, allocations: 160.1 kB / 0.9577 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.2828, allocations: 11.81 kB / 0.9577 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.2829, allocations: 25.7 kB / 0.9577 GB, free: 1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2831, allocations: 338.8 kB / 0.958 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.2831, allocations: 35.95 kB / 0.9581 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.2832, allocations: 59.41 kB / 0.9581 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.2834, allocations: 99.3 kB / 0.9582 GB, free: 456 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2834, allocations: 0 / 0.9582 GB, free: 456 kB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002153/0.2836, allocations: 153.2 kB / 0.9584 GB, free: 296 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2836, allocations: 7.938 kB / 0.9584 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2836, allocations: 0 / 0.9584 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2837, allocations: 4 kB / 0.9584 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.2838, allocations: 15.92 kB / 0.9584 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2838, allocations: 0 / 0.9584 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.284, allocations: 15.86 kB / 0.9584 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.2841, allocations: 7.984 kB / 0.9584 GB, free: 244 kB / 0.7325 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 0.0002278/0.2843, allocations: 175.9 kB / 0.9586 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.2844, allocations: 39.47 kB / 0.9586 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.2849, allocations: 187.7 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.285, allocations: 4 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.285, allocations: 0 / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.285, allocations: 0 / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.2854, allocations: 313.4 kB / 0.9591 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2854, allocations: 4.125 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2856, allocations: 16 kB / 0.9591 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.2856, allocations: 3.938 kB / 0.9591 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2856, allocations: 7.984 kB / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2856, allocations: 0 / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.2856, allocations: 4 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.286, allocations: 191.2 kB / 0.9593 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.2863, allocations: 140.5 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.2864, allocations: 3.938 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.2866, allocations: 15.98 kB / 0.9595 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.2866, allocations: 4 kB / 0.9595 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2867, allocations: 0 / 0.9595 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005426/0.2872, allocations: 399 kB / 0.9598 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.2872, allocations: 0 / 0.9598 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002755/0.2875, allocations: 44 kB / 0.9599 GB, free: 14.61 MB / 0.7481 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 0.0001398/0.2877, allocations: 99.19 kB / 0.96 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.2879, allocations: 83.86 kB / 0.9601 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.288, allocations: 4 kB / 0.9601 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2881, allocations: 47.91 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.2886, allocations: 76 kB / 0.9602 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.2901, allocations: 0.5731 MB / 0.9607 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.2906, allocations: 0.8219 MB / 0.9615 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.2908, allocations: 50.27 kB / 0.9616 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.2909, allocations: 19.44 kB / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of SimCode: time 2.335e-06/0.2909, allocations: 0 / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of Templates: time 0.01018/0.3011, allocations: 3.57 MB / 0.9651 GB, free: 9.246 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches