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.001598/0.001598, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001737/0.001737, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.328/1.328, 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 11.0.0-master/package.mo): time 2.486/2.486, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.95 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2741, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002759/0.2769, allocations: 1.581 MB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2783, allocations: 0.9305 MB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.2784, allocations: 0 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.2786, allocations: 67.64 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.2791, allocations: 143.3 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.89e-05/0.2792, allocations: 15.92 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.2796, allocations: 374.3 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.568e-05/0.2797, allocations: 44.75 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.2799, allocations: 135.3 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.2801, allocations: 139.4 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.2801, allocations: 16 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.859e-05/0.2802, allocations: 16 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.2803, allocations: 51.7 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2804, allocations: 123.2 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.2807, allocations: 287 kB / 1.031 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2807, allocations: 7.984 kB / 1.031 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2807, allocations: 3.938 kB / 1.031 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2807, allocations: 0 / 1.031 GB, free: 14.16 MB / 0.8106 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.00102/0.2817, allocations: 0.6224 MB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2818, allocations: 12.03 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.2818, allocations: 36.5 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.2824, allocations: 386.3 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2824, allocations: 384 / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.2824, allocations: 4.375 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.2826, allocations: 101.4 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2826, allocations: 4 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2826, allocations: 4 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2826, allocations: 3.938 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.2827, allocations: 63.94 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.2831, allocations: 360 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.2832, allocations: 106.4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.2833, allocations: 63.45 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.2833, allocations: 4 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.2833, allocations: 46.44 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.2833, allocations: 0 / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003244/0.2837, allocations: 185 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.2837, allocations: 136.5 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/0.2843, allocations: 0.5132 MB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2843, allocations: 26.2 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.2845, allocations: 172.1 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.2845, allocations: 7.844 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.2845, allocations: 29.61 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2847, allocations: 338.8 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.2847, allocations: 35.95 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.2848, allocations: 55.41 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.2849, allocations: 107.3 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2849, allocations: 0 / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002018/0.2851, allocations: 145.2 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2852, allocations: 7.938 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2852, allocations: 4.125 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2852, allocations: 4 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2853, allocations: 15.92 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2853, allocations: 0 / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.2855, allocations: 11.89 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2855, allocations: 7.984 kB / 1.034 GB, free: 10.28 MB / 0.8106 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.0001352/0.2856, allocations: 169.8 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.2857, allocations: 43.55 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.286, allocations: 183.7 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.286, allocations: 4 kB / 1.034 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.286, allocations: 0 / 1.034 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.286, allocations: 0 / 1.034 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.2863, allocations: 309.4 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2863, allocations: 4 kB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.2864, allocations: 15.98 kB / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.2864, allocations: 3.938 kB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.2864, allocations: 128 / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2864, allocations: 8 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2864, allocations: 3.938 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.2867, allocations: 191.3 kB / 1.035 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.2869, allocations: 144.5 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.2869, allocations: 11.94 kB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2871, allocations: 11.98 kB / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.2871, allocations: 4 kB / 1.035 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2871, allocations: 7.984 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004224/0.2875, allocations: 395 kB / 1.035 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.422e-06/0.2876, allocations: 0 / 1.035 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000254/0.2878, allocations: 43.94 kB / 1.035 GB, free: 8.641 MB / 0.8106 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 9.079e-05/0.2879, allocations: 99.25 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.2881, allocations: 87.86 kB / 1.036 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2881, allocations: 0 / 1.036 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.2882, allocations: 51.89 kB / 1.036 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2885, allocations: 69.84 kB / 1.036 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/0.2894, allocations: 0.5731 MB / 1.036 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.2898, allocations: 0.8182 MB / 1.037 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.2899, allocations: 58.25 kB / 1.037 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.29, allocations: 19.44 kB / 1.037 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.29, allocations: 0 / 1.037 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of Templates: time 0.006507/0.2965, allocations: 3.579 MB / 1.041 GB, free: 3.273 MB / 0.8106 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 cvode -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