Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001813/0.001813, allocations: 104.8 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.00199/0.00199, allocations: 190.5 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.299/1.299, 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 10.1.0-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 65.33 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2616, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003072/0.2647, allocations: 1.585 MB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2662, allocations: 0.9282 MB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.2663, allocations: 8 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.2666, allocations: 59.66 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.267, allocations: 151.2 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.517e-05/0.2671, allocations: 8 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.2675, allocations: 371 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.2676, allocations: 44.73 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.2678, allocations: 155.3 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.268, allocations: 123.4 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.268, allocations: 16 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.662e-05/0.268, allocations: 16 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.2681, allocations: 51.7 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.2682, allocations: 135.2 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.2685, allocations: 279 kB / 1.023 GB, free: 5.926 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2685, allocations: 0 / 1.023 GB, free: 5.926 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.587e-06/0.2685, allocations: 4 kB / 1.023 GB, free: 5.922 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.2685, allocations: 7.938 kB / 1.023 GB, free: 5.914 MB / 0.795 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.001047/0.2696, allocations: 0.6223 MB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2696, allocations: 12.92 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.2697, allocations: 28.56 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.2702, allocations: 394.2 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2703, allocations: 4.375 kB / 1.024 GB, free: 4.773 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2703, allocations: 4.375 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.2704, allocations: 97.38 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2705, allocations: 3.938 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2705, allocations: 4 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2705, allocations: 4 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.2706, allocations: 67.92 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.2709, allocations: 352 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.2711, allocations: 110.4 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.2711, allocations: 59.45 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2712, allocations: 0 / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2712, allocations: 50.44 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2712, allocations: 4 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002982/0.2715, allocations: 177.1 kB / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.2716, allocations: 132.5 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.2721, allocations: 0.5171 MB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2721, allocations: 25.7 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.2722, allocations: 160.6 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.2723, allocations: 15.81 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.2723, allocations: 33.55 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2725, allocations: 342.8 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.2725, allocations: 35.97 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.2726, allocations: 55.39 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2727, allocations: 107.3 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2727, allocations: 4 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002083/0.2729, allocations: 141.3 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.273, allocations: 7.938 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.273, allocations: 4 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.273, allocations: 0 / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2731, allocations: 20.05 kB / 1.026 GB, free: 2.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2731, allocations: 0 / 1.026 GB, free: 2.047 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2733, allocations: 15.89 kB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.2733, allocations: 0 / 1.026 GB, free: 2.031 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.0001409/0.2734, allocations: 181.7 kB / 1.026 GB, free: 1.844 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.2735, allocations: 35.56 kB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.2738, allocations: 187.8 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2738, allocations: 4 kB / 1.026 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2738, allocations: 0 / 1.026 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2738, allocations: 7.984 kB / 1.026 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.2741, allocations: 305.4 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2741, allocations: 0 / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.2742, allocations: 15.98 kB / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2742, allocations: 3.938 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2742, allocations: 8 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2742, allocations: 3.938 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/0.2742, allocations: 4.094 kB / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.2745, allocations: 183.3 kB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.2746, allocations: 140.5 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.2747, allocations: 7.938 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.2748, allocations: 11.98 kB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.2749, allocations: 11.98 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2749, allocations: 7.938 kB / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000417/0.2753, allocations: 391 kB / 1.027 GB, free: 448 kB / 0.795 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2753, allocations: 0 / 1.027 GB, free: 448 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002543/0.2756, allocations: 40 kB / 1.028 GB, free: 408 kB / 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.0001176/0.2757, allocations: 103.2 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.2759, allocations: 87.98 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2759, allocations: 0 / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.276, allocations: 47.91 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.2764, allocations: 69.78 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.2773, allocations: 0.577 MB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2776, allocations: 0.8143 MB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.2777, allocations: 54.25 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.2778, allocations: 23.42 kB / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2778, allocations: 4 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of Templates: time 0.00647/0.2843, allocations: 3.57 MB / 1.033 GB, free: 11.04 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches