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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001386/0.001386, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.85/1.85, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.996/2.996, allocations: 472.7 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 65.66 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3789, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003083/0.382, allocations: 1.589 MB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3835, allocations: 0.9229 MB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.3836, allocations: 4 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.3839, allocations: 59.66 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.3843, allocations: 147.3 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-05/0.3844, allocations: 4 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004141/0.3848, allocations: 378.3 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.3849, allocations: 40.75 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.3851, allocations: 143.4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.3853, allocations: 139.3 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.3853, allocations: 16 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.3854, allocations: 12 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.3855, allocations: 51.77 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3856, allocations: 135.1 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.3859, allocations: 279.3 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3859, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3859, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3859, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 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.001073/0.387, allocations: 0.634 MB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3871, allocations: 8.031 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.3871, allocations: 32.56 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.3876, allocations: 382.3 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.3876, allocations: 384 / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3876, allocations: 384 / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3878, allocations: 105.3 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3878, allocations: 15.98 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3878, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3879, allocations: 3.938 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.388, allocations: 71.86 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.3884, allocations: 352 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3885, allocations: 110.4 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.3886, allocations: 63.39 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3886, allocations: 3.984 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3887, allocations: 46.5 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3887, allocations: 0 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003126/0.389, allocations: 181.1 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.3891, allocations: 132.5 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.3897, allocations: 0.5132 MB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3897, allocations: 25.7 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3898, allocations: 164.6 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3899, allocations: 19.8 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.3899, allocations: 13.72 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3901, allocations: 346.8 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.3902, allocations: 31.97 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.069e-05/0.3902, allocations: 67.33 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3904, allocations: 107.3 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3904, allocations: 0 / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002065/0.3906, allocations: 145.2 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3906, allocations: 11.94 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3907, allocations: 0 / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3907, allocations: 4.125 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3908, allocations: 11.98 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3908, allocations: 3.938 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.391, allocations: 11.98 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.391, allocations: 0 / 1.075 GB, free: 2.562 MB / 0.8262 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.0001504/0.3911, allocations: 183.5 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.3912, allocations: 35.56 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.3915, allocations: 187.7 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.3915, allocations: 0 / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3915, allocations: 7.922 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3916, allocations: 4 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.3919, allocations: 297.5 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3919, allocations: 0 / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.392, allocations: 15.98 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.392, allocations: 7.938 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.392, allocations: 8.125 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.392, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.392, allocations: 4 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.3922, allocations: 195.1 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.3924, allocations: 136.6 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.3925, allocations: 12.03 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3926, allocations: 11.98 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.3926, allocations: 15.97 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3927, allocations: 4 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004311/0.3931, allocations: 395 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3931, allocations: 0 / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002618/0.3934, allocations: 40 kB / 1.077 GB, free: 0.9258 MB / 0.8262 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.0001036/0.3935, allocations: 99.78 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.3937, allocations: 91.8 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3937, allocations: 0 / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.3937, allocations: 47.91 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3941, allocations: 62.53 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009649/0.3951, allocations: 0.5847 MB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.3955, allocations: 0.8143 MB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.3956, allocations: 54.25 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.3957, allocations: 27.38 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3957, allocations: 3.938 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of Templates: time 0.006857/0.4026, allocations: 3.582 MB / 1.082 GB, free: 11.55 MB / 0.8419 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches