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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001173/0.001174, allocations: 110.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.001026/0.001026, allocations: 193.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.34/1.34, allocations: 222.9 MB / 241 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.581/2.581, allocations: 442.5 MB / 0.7165 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.27 kB / 0.8773 GB, free: 42.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2775, allocations: 153 MB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003008/0.2805, allocations: 1.595 MB / 1.028 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.282, allocations: 0.9193 MB / 1.029 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.939e-05/0.2821, allocations: 4 kB / 1.029 GB, free: 5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.2824, allocations: 63.64 kB / 1.029 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.2829, allocations: 155.3 kB / 1.029 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-05/0.283, allocations: 15.97 kB / 1.029 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.2834, allocations: 366.3 kB / 1.03 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.2835, allocations: 44.73 kB / 1.03 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.2837, allocations: 143.3 kB / 1.03 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.284, allocations: 135.3 kB / 1.03 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.284, allocations: 20 kB / 1.03 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.952e-05/0.2841, allocations: 16 kB / 1.03 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.2841, allocations: 55.69 kB / 1.03 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.2843, allocations: 123.3 kB / 1.03 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.2846, allocations: 282.9 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2846, allocations: 7.938 kB / 1.031 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2846, allocations: 0 / 1.031 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.2846, allocations: 0 / 1.031 GB, free: 3.59 MB / 0.7794 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.001209/0.2858, allocations: 0.6301 MB / 1.031 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2859, allocations: 12.03 kB / 1.031 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.2859, allocations: 28.56 kB / 1.031 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.2865, allocations: 398.2 kB / 1.032 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.2866, allocations: 384 / 1.032 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2866, allocations: 4.375 kB / 1.032 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2867, allocations: 93.39 kB / 1.032 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2868, allocations: 7.938 kB / 1.032 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2868, allocations: 4 kB / 1.032 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2868, allocations: 0 / 1.032 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.2869, allocations: 67.86 kB / 1.032 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.2873, allocations: 352.1 kB / 1.032 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.2874, allocations: 106.4 kB / 1.032 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.2875, allocations: 63.47 kB / 1.032 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2875, allocations: 0 / 1.032 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2876, allocations: 46.42 kB / 1.032 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.2876, allocations: 0 / 1.032 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003342/0.2879, allocations: 177.6 kB / 1.032 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.288, allocations: 140.5 kB / 1.033 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005849/0.2886, allocations: 0.5093 MB / 1.033 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2886, allocations: 25.7 kB / 1.033 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2887, allocations: 168.1 kB / 1.033 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.2887, allocations: 11.81 kB / 1.033 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.2888, allocations: 21.7 kB / 1.033 GB, free: 492 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2889, allocations: 338.8 kB / 1.034 GB, free: 144 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.289, allocations: 39.97 kB / 1.034 GB, free: 104 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.2891, allocations: 55.39 kB / 1.034 GB, free: 36 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.2892, allocations: 107.3 kB / 1.034 GB, free: 15.92 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2892, allocations: 0 / 1.034 GB, free: 15.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002094/0.2894, allocations: 145.2 kB / 1.034 GB, free: 15.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2895, allocations: 11.94 kB / 1.034 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2895, allocations: 3.938 kB / 1.034 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2895, allocations: 3.938 kB / 1.034 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2896, allocations: 11.98 kB / 1.034 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2896, allocations: 0 / 1.034 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2898, allocations: 11.98 kB / 1.034 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2898, allocations: 3.984 kB / 1.034 GB, free: 15.72 MB / 0.795 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.000147/0.29, allocations: 181.8 kB / 1.034 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.29, allocations: 43.41 kB / 1.034 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.2903, allocations: 187.8 kB / 1.034 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2903, allocations: 0 / 1.034 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2904, allocations: 0 / 1.034 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2904, allocations: 4 kB / 1.034 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.2907, allocations: 317.5 kB / 1.035 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2907, allocations: 0 / 1.035 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.2908, allocations: 12 kB / 1.035 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.2908, allocations: 7.938 kB / 1.035 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2908, allocations: 0 / 1.035 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/0.2908, allocations: 11.92 kB / 1.035 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2908, allocations: 4 kB / 1.035 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.2911, allocations: 183.3 kB / 1.035 GB, free: 14.69 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.2913, allocations: 140.5 kB / 1.035 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.2913, allocations: 11.98 kB / 1.035 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2915, allocations: 7.984 kB / 1.035 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.2915, allocations: 7.938 kB / 1.035 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.2915, allocations: 4 kB / 1.035 GB, free: 14.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00044/0.292, allocations: 399 kB / 1.035 GB, free: 14.12 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.292, allocations: 4 kB / 1.035 GB, free: 14.11 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002547/0.2922, allocations: 36 kB / 1.035 GB, free: 14.08 MB / 0.795 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.000128/0.2924, allocations: 99.25 kB / 1.036 GB, free: 13.97 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.2926, allocations: 87.86 kB / 1.036 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2926, allocations: 0 / 1.036 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.2926, allocations: 44.34 kB / 1.036 GB, free: 13.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.293, allocations: 73.52 kB / 1.036 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.294, allocations: 0.5848 MB / 1.036 GB, free: 13.15 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.2943, allocations: 0.8182 MB / 1.037 GB, free: 12.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.2945, allocations: 50.25 kB / 1.037 GB, free: 12.26 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.12e-05/0.2946, allocations: 19.44 kB / 1.037 GB, free: 12.24 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.2946, allocations: 8 kB / 1.037 GB, free: 12.23 MB / 0.795 GB Notification: Performance of Templates: time 0.007366/0.3019, allocations: 3.563 MB / 1.041 GB, free: 8.723 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches