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.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.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.001603/0.001603, allocations: 104.9 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.001777/0.001777, 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.302/1.302, 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.382/2.382, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 61.23 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2672, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002712/0.27, allocations: 1.577 MB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2714, allocations: 0.9321 MB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.2715, allocations: 0 / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.2718, allocations: 59.66 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.2723, allocations: 151.3 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.942e-05/0.2724, allocations: 11.92 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.2728, allocations: 377.4 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.877e-05/0.2729, allocations: 48.73 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.2731, allocations: 139.3 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2733, allocations: 131.4 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.2733, allocations: 20 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.868e-05/0.2734, allocations: 12 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.2735, allocations: 55.7 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2736, allocations: 131.2 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.2739, allocations: 287 kB / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2739, allocations: 0 / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2739, allocations: 0 / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.2739, allocations: 0 / 1.023 GB, free: 5.961 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.001096/0.275, allocations: 0.6263 MB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2751, allocations: 8.922 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.2751, allocations: 32.56 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.2757, allocations: 390.2 kB / 1.024 GB, free: 4.824 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2757, allocations: 4.375 kB / 1.024 GB, free: 4.82 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2757, allocations: 4.375 kB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2759, allocations: 101.4 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2759, allocations: 0 / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2759, allocations: 0 / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2759, allocations: 0 / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.276, allocations: 67.88 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.2764, allocations: 364.1 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2766, allocations: 106.3 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.2766, allocations: 63.45 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2767, allocations: 4 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2767, allocations: 38.5 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.2767, allocations: 0 / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003262/0.277, allocations: 181.5 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.2771, allocations: 136.5 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.2777, allocations: 0.521 MB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2777, allocations: 29.7 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2778, allocations: 160.1 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2778, allocations: 11.81 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.2779, allocations: 25.61 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.278, allocations: 342.8 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/0.2781, allocations: 43.89 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.2781, allocations: 59.41 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.2783, allocations: 99.3 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.2783, allocations: 4 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002107/0.2785, allocations: 141.4 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2785, allocations: 11.94 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2785, allocations: 0 / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2786, allocations: 3.984 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2787, allocations: 15.92 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.2787, allocations: 4 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.2788, allocations: 15.88 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2789, allocations: 4 kB / 1.026 GB, free: 2.07 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.0001394/0.279, allocations: 178.5 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.2791, allocations: 39.55 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.2794, allocations: 183.7 kB / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2794, allocations: 0 / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2794, allocations: 4 kB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2794, allocations: 128 / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.2797, allocations: 309.4 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2797, allocations: 4 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.115e-05/0.2798, allocations: 15.98 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.2798, allocations: 7.938 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2798, allocations: 0 / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2798, allocations: 4 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2798, allocations: 0 / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.2801, allocations: 199.2 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.2802, allocations: 140.5 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.2803, allocations: 3.938 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.2804, allocations: 15.98 kB / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.2805, allocations: 4 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.2805, allocations: 3.984 kB / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004824/0.281, allocations: 399 kB / 1.027 GB, free: 488 kB / 0.795 GB Notification: Performance of sort global known variables: time 2.41e-07/0.281, allocations: 0 / 1.027 GB, free: 488 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002535/0.2812, allocations: 36 kB / 1.028 GB, free: 452 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 9.118e-05/0.2813, allocations: 103.2 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.2815, allocations: 87.86 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2815, allocations: 0 / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.966e-05/0.2816, allocations: 52.27 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.2819, allocations: 69.53 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/0.2829, allocations: 0.5731 MB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.2832, allocations: 0.8182 MB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.2834, allocations: 54.25 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.981e-05/0.2834, allocations: 19.44 kB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.2835, allocations: 4 kB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.007139/0.2906, allocations: 3.566 MB / 1.033 GB, free: 11.09 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=480 -s cvode -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