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.008853/0.008853, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002085/0.002085, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.682/2.682, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 71.88 kB / 1.018 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3062, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002755/0.309, allocations: 1.58 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3103, allocations: 0.919 MB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.3104, allocations: 4 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3107, allocations: 59.66 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.3112, allocations: 151.3 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.448e-05/0.3112, allocations: 7.984 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.3117, allocations: 370.3 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.919e-05/0.3118, allocations: 44.75 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.312, allocations: 139.4 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.3123, allocations: 147.3 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.3123, allocations: 19.94 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.3124, allocations: 16 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.3125, allocations: 47.77 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.3126, allocations: 123.2 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.3129, allocations: 294.7 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3129, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3129, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.313, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 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.001085/0.314, allocations: 0.6418 MB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3141, allocations: 8.031 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.3142, allocations: 32.75 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.3148, allocations: 390.6 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.3148, allocations: 8.312 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.3148, allocations: 8.359 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.315, allocations: 97.38 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.315, allocations: 0 / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.315, allocations: 4 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.315, allocations: 0 / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.843e-05/0.3151, allocations: 67.88 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.3156, allocations: 356.1 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3157, allocations: 106.3 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.3158, allocations: 67.41 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3158, allocations: 11.97 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3158, allocations: 38.5 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3158, allocations: 0 / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003229/0.3162, allocations: 189.5 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3162, allocations: 136.5 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.3168, allocations: 0.5132 MB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3168, allocations: 25.7 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.317, allocations: 168 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.317, allocations: 7.906 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.317, allocations: 29.64 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3172, allocations: 343 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/0.3173, allocations: 35.95 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.3173, allocations: 55.41 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3175, allocations: 107.3 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3175, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002002/0.3177, allocations: 145.4 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3177, allocations: 7.938 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3177, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3178, allocations: 4 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3179, allocations: 11.98 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3179, allocations: 0 / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3181, allocations: 12.06 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3181, allocations: 15.92 kB / 1.174 GB, free: 15 MB / 0.9356 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.0001424/0.3183, allocations: 169.8 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.3183, allocations: 39.75 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.3187, allocations: 187.6 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3187, allocations: 4 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3187, allocations: 4.125 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3187, allocations: 0 / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.3191, allocations: 305.5 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3191, allocations: 4.094 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-05/0.3192, allocations: 12 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3192, allocations: 7.922 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3193, allocations: 7.984 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3193, allocations: 0 / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3193, allocations: 0 / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3195, allocations: 199.3 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.3197, allocations: 140.8 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.3197, allocations: 7.938 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3199, allocations: 11.98 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.3199, allocations: 7.938 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3199, allocations: 7.938 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004227/0.3204, allocations: 399 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3204, allocations: 0 / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002546/0.3206, allocations: 40 kB / 1.175 GB, free: 13.38 MB / 0.9356 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.0001006/0.3207, allocations: 103.2 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.3209, allocations: 83.86 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3209, allocations: 0 / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.321, allocations: 52.16 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.3214, allocations: 69.52 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.3223, allocations: 0.5844 MB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.3228, allocations: 0.8182 MB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.323, allocations: 54.25 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.3231, allocations: 23.44 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3231, allocations: 0 / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of Templates: time 0.007053/0.3301, allocations: 3.592 MB / 1.181 GB, free: 7.988 MB / 0.9356 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches