Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008161/0.008161, allocations: 99.66 kB / 15.73 MB, free: 5.551 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.002028/0.002028, allocations: 196.5 kB / 16.68 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.48 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2649, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.004204/0.2692, allocations: 1.58 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.2711, allocations: 0.9126 MB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.2712, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.2716, allocations: 63.66 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.2722, allocations: 143.3 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.196e-05/0.2723, allocations: 15.92 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005794/0.2729, allocations: 374.3 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.273, allocations: 40.75 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.2733, allocations: 147.3 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.2736, allocations: 131.4 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.2736, allocations: 16 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.2737, allocations: 16 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.2738, allocations: 51.7 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.274, allocations: 131.2 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.2745, allocations: 290.7 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2745, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2745, allocations: 4 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2745, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 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.001462/0.276, allocations: 0.6379 MB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.276, allocations: 8.031 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.895e-05/0.2761, allocations: 40.7 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.2768, allocations: 390.5 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2769, allocations: 8.312 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.2769, allocations: 4.375 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.2771, allocations: 101.4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2771, allocations: 4 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2772, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2772, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.2773, allocations: 71.88 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.2779, allocations: 348.1 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2781, allocations: 110.3 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.2782, allocations: 63.45 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.2783, allocations: 4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.2783, allocations: 38.5 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 3.617e-06/0.2783, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0005041/0.2789, allocations: 181.3 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.279, allocations: 140.5 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008965/0.2799, allocations: 0.5132 MB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2799, allocations: 25.7 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.2801, allocations: 168.5 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.2801, allocations: 11.91 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.2802, allocations: 29.66 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2804, allocations: 338.8 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.2805, allocations: 35.95 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2806, allocations: 55.41 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.2809, allocations: 103.3 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2809, allocations: 3.984 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003431/0.2813, allocations: 145.4 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2813, allocations: 9.812 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2813, allocations: 0 / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2814, allocations: 12.11 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.2816, allocations: 11.94 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2816, allocations: 7.922 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.2818, allocations: 7.984 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.2819, allocations: 4 kB / 1.095 GB, free: 9.738 MB / 0.8575 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.0002433/0.2821, allocations: 173.8 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.2822, allocations: 39.7 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/0.2828, allocations: 187.7 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2828, allocations: 4 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2828, allocations: 0 / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2828, allocations: 0 / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.2833, allocations: 313.4 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2833, allocations: 0 / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.2835, allocations: 24.08 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.2835, allocations: 11.86 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.2835, allocations: 4 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2836, allocations: 128 / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2836, allocations: 4 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.284, allocations: 191.3 kB / 1.096 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.2843, allocations: 136.8 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/0.2844, allocations: 7.891 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.2846, allocations: 19.98 kB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.2847, allocations: 7.984 kB / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2847, allocations: 0 / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008146/0.2855, allocations: 395 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.5e-07/0.2855, allocations: 0 / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004891/0.286, allocations: 40 kB / 1.097 GB, free: 8.098 MB / 0.8575 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.0001422/0.2862, allocations: 99.19 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.2865, allocations: 91.86 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2866, allocations: 0 / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.2867, allocations: 51.89 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.2874, allocations: 73.97 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2891, allocations: 0.5804 MB / 1.098 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.2898, allocations: 0.8143 MB / 1.098 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.29, allocations: 58.25 kB / 1.098 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2902, allocations: 19.44 kB / 1.098 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.2902, allocations: 3.938 kB / 1.098 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of Templates: time 0.01343/0.3036, allocations: 3.581 MB / 1.102 GB, free: 2.715 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches