Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.UndisturbedSoilTemperature,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.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,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.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001498/0.001498, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.95 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002944/0.3253, allocations: 1.584 MB / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3268, allocations: 0.9204 MB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.3269, allocations: 4 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.3271, allocations: 59.66 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.3276, allocations: 143.3 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.402e-05/0.3277, allocations: 11.92 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.3281, allocations: 366.3 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.3282, allocations: 52.72 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.3284, allocations: 139.4 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.3286, allocations: 131.3 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.3287, allocations: 16 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.3287, allocations: 16 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.3288, allocations: 55.7 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.329, allocations: 135.2 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.3293, allocations: 275.3 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3293, allocations: 4 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3293, allocations: 3.984 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.3293, allocations: 0 / 1.022 GB, free: 6.762 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.00113/0.3305, allocations: 0.6223 MB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3305, allocations: 12.92 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.3306, allocations: 28.56 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.3311, allocations: 386.3 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3312, allocations: 4.312 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3312, allocations: 8.359 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3314, allocations: 101.4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3314, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3314, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3314, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3315, allocations: 75.86 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.332, allocations: 352.1 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.3321, allocations: 110.3 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3323, allocations: 59.45 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3323, allocations: 4 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3323, allocations: 42.5 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3323, allocations: 0 / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003873/0.3327, allocations: 185.1 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.3328, allocations: 132.5 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.3335, allocations: 0.5137 MB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3335, allocations: 29.7 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3336, allocations: 164.1 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.3337, allocations: 11.81 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.3337, allocations: 33.56 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3339, allocations: 342.8 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.334, allocations: 27.97 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.931e-05/0.3341, allocations: 67.39 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.3342, allocations: 99.3 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3342, allocations: 0 / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000226/0.3345, allocations: 149.2 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3345, allocations: 12.06 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3345, allocations: 3.938 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3345, allocations: 4 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3347, allocations: 11.98 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3347, allocations: 0 / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.3348, allocations: 11.89 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.3348, allocations: 7.938 kB / 1.025 GB, free: 2.879 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.000176/0.335, allocations: 173.8 kB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.3351, allocations: 35.56 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.3354, allocations: 191.7 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3354, allocations: 4 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3355, allocations: 0 / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3355, allocations: 0 / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.3358, allocations: 301.4 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3358, allocations: 8.094 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.094e-05/0.3359, allocations: 20.11 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.3359, allocations: 7.922 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3359, allocations: 8 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3359, allocations: 0 / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3359, allocations: 0 / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3362, allocations: 195.2 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.3364, allocations: 140.5 kB / 1.026 GB, free: 1.703 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.3365, allocations: 3.938 kB / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3366, allocations: 15.97 kB / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.3366, allocations: 8 kB / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3366, allocations: 0 / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004799/0.3371, allocations: 395 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3371, allocations: 0 / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002542/0.3374, allocations: 44 kB / 1.027 GB, free: 1.25 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.0001098/0.3375, allocations: 103.2 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3377, allocations: 87.86 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3377, allocations: 4 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.3378, allocations: 47.91 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3382, allocations: 72.48 kB / 1.027 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.3393, allocations: 0.5943 MB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.3398, allocations: 0.8181 MB / 1.028 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.3398, allocations: 23.42 kB / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.3399, allocations: 4 kB / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.006396/0.3463, allocations: 3.684 MB / 1.032 GB, free: 11.77 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches