Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.UndisturbedSoilTemperature,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.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_latest_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.001507/0.001507, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001437/0.001437, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.415/2.415, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 72.41 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2661, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002623/0.2687, allocations: 1.595 MB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.27, allocations: 0.9189 MB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.2701, allocations: 4 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.2703, allocations: 63.59 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004066/0.2707, allocations: 151.2 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.485e-05/0.2708, allocations: 15.98 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.2712, allocations: 366.4 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.29e-05/0.2713, allocations: 44.73 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.2715, allocations: 139.3 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.2716, allocations: 135.4 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.2717, allocations: 16 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.2717, allocations: 16 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.2718, allocations: 51.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.2719, allocations: 127.2 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.2722, allocations: 290.9 kB / 1.031 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2722, allocations: 0 / 1.031 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2722, allocations: 4 kB / 1.031 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.2722, allocations: 0 / 1.031 GB, free: 14.15 MB / 0.8106 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.001037/0.2733, allocations: 0.6301 MB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2733, allocations: 12.03 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.2734, allocations: 28.56 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.2739, allocations: 386.3 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2739, allocations: 4.375 kB / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.2739, allocations: 384 / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.2741, allocations: 105.4 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2741, allocations: 3.938 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2741, allocations: 4 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2741, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/0.2742, allocations: 63.92 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.2746, allocations: 360 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2747, allocations: 106.4 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.2748, allocations: 63.45 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.2748, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2748, allocations: 46.44 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2748, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003219/0.2752, allocations: 189 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.2752, allocations: 132.5 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.2758, allocations: 0.5137 MB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2759, allocations: 33.64 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.276, allocations: 168.1 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.276, allocations: 7.906 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.2761, allocations: 21.62 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2762, allocations: 342.8 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.2763, allocations: 35.97 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.2763, allocations: 55.39 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.2765, allocations: 111.3 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2765, allocations: 0 / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001985/0.2767, allocations: 137.3 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2767, allocations: 16.06 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2767, allocations: 0 / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2767, allocations: 0 / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2769, allocations: 15.92 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2769, allocations: 0 / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.277, allocations: 15.89 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.277, allocations: 0 / 1.034 GB, free: 10.27 MB / 0.8106 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.0001471/0.2772, allocations: 185.7 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.2772, allocations: 35.56 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.2776, allocations: 191.7 kB / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2776, allocations: 0 / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2776, allocations: 0 / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2776, allocations: 4 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.2779, allocations: 305.4 kB / 1.035 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2779, allocations: 3.984 kB / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.866e-05/0.278, allocations: 12 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.278, allocations: 7.938 kB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.278, allocations: 4.125 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.278, allocations: 4 kB / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.278, allocations: 7.938 kB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.2782, allocations: 179.3 kB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.2784, allocations: 148.6 kB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.2785, allocations: 11.92 kB / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2786, allocations: 15.91 kB / 1.035 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.2786, allocations: 4 kB / 1.035 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2787, allocations: 4 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004244/0.2791, allocations: 406.9 kB / 1.035 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2791, allocations: 0 / 1.035 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002529/0.2794, allocations: 36 kB / 1.035 GB, free: 8.625 MB / 0.8106 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.09e-05/0.2794, allocations: 107.2 kB / 1.036 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.2796, allocations: 83.86 kB / 1.036 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2796, allocations: 0 / 1.036 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.333e-05/0.2797, allocations: 43.91 kB / 1.036 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2801, allocations: 61.97 kB / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.281, allocations: 0.5848 MB / 1.036 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.2814, allocations: 0.8104 MB / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.2815, allocations: 54.25 kB / 1.037 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.2816, allocations: 23.44 kB / 1.037 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.2816, allocations: 0 / 1.037 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of Templates: time 0.006475/0.2881, allocations: 3.576 MB / 1.041 GB, free: 3.297 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches