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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001864/0.001872, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00309/0.00309, allocations: 191.5 kB / 16.14 MB, free: 6.699 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 69.14 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3068, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002779/0.3096, allocations: 1.646 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.311, allocations: 0.9112 MB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.3111, allocations: 0 / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.3113, allocations: 63.7 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004082/0.3118, allocations: 135.5 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.256e-05/0.3118, allocations: 7.984 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.3122, allocations: 354.3 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.611e-05/0.3122, allocations: 44.75 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.3124, allocations: 123.3 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.3126, allocations: 135.3 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.3127, allocations: 12 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.316, allocations: 0.6719 MB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.3161, allocations: 43.77 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3162, allocations: 135.2 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01534/0.3316, allocations: 13.28 MB / 1.085 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3316, allocations: 0 / 1.085 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3316, allocations: 4 kB / 1.085 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3316, allocations: 0 / 1.085 GB, free: 9.234 MB / 0.8419 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.001457/0.3331, allocations: 0.6459 MB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3332, allocations: 8.031 kB / 1.085 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.3332, allocations: 36.56 kB / 1.085 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.3338, allocations: 374.2 kB / 1.086 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3338, allocations: 8.375 kB / 1.086 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3338, allocations: 4.375 kB / 1.086 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.334, allocations: 101.3 kB / 1.086 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.334, allocations: 0 / 1.086 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.334, allocations: 11.94 kB / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3341, allocations: 4 kB / 1.086 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3342, allocations: 67.86 kB / 1.086 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.3346, allocations: 348.1 kB / 1.086 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.3347, allocations: 106.4 kB / 1.086 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/0.3348, allocations: 67.39 kB / 1.086 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3349, allocations: 7.984 kB / 1.086 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3349, allocations: 38.44 kB / 1.086 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3349, allocations: 0 / 1.086 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004018/0.3353, allocations: 189.1 kB / 1.087 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.3354, allocations: 132.5 kB / 1.087 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.336, allocations: 0.4975 MB / 1.087 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.336, allocations: 29.7 kB / 1.087 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3361, allocations: 156.3 kB / 1.087 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.3362, allocations: 16.33 kB / 1.087 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.3363, allocations: 57.59 kB / 1.087 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3364, allocations: 338.8 kB / 1.088 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.3366, allocations: 119.9 kB / 1.088 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.3368, allocations: 178.8 kB / 1.088 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.3371, allocations: 271.2 kB / 1.088 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3371, allocations: 0 / 1.088 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004324/0.3376, allocations: 329 kB / 1.089 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3376, allocations: 13.66 kB / 1.089 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3376, allocations: 4 kB / 1.089 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3376, allocations: 0 / 1.089 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.3378, allocations: 15.98 kB / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3378, allocations: 4 kB / 1.089 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.338, allocations: 27.75 kB / 1.089 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.338, allocations: 7.984 kB / 1.089 GB, free: 4.758 MB / 0.8419 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001572/0.3382, allocations: 191 kB / 1.089 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.3382, allocations: 31.56 kB / 1.089 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.3386, allocations: 183.9 kB / 1.089 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3386, allocations: 3.984 kB / 1.089 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3386, allocations: 4.125 kB / 1.089 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3386, allocations: 4 kB / 1.089 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3388, allocations: 293.4 kB / 1.089 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3389, allocations: 0 / 1.089 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.044e-05/0.339, allocations: 15.98 kB / 1.089 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.339, allocations: 3.938 kB / 1.089 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.339, allocations: 4 kB / 1.089 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.339, allocations: 0 / 1.089 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.339, allocations: 0 / 1.089 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.3392, allocations: 195.1 kB / 1.09 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.3394, allocations: 132.6 kB / 1.09 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.3394, allocations: 4 kB / 1.09 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3396, allocations: 11.98 kB / 1.09 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.3396, allocations: 7.984 kB / 1.09 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3396, allocations: 11.94 kB / 1.09 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004101/0.34, allocations: 379 kB / 1.09 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.34, allocations: 0 / 1.09 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005349/0.3406, allocations: 100 kB / 1.09 GB, free: 3.102 MB / 0.8419 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.004839/0.3454, allocations: 2.819 MB / 1.093 GB, free: 276 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.3459, allocations: 187.8 kB / 1.093 GB, free: 88 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3459, allocations: 0 / 1.093 GB, free: 88 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/0.346, allocations: 51.89 kB / 1.093 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.3464, allocations: 53.02 kB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.3475, allocations: 0.6638 MB / 1.094 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3479, allocations: 0.8146 MB / 1.095 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.3481, allocations: 50.28 kB / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.3481, allocations: 19.44 kB / 1.095 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3481, allocations: 0 / 1.095 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of Templates: time 0.0124/0.3606, allocations: 7.709 MB / 1.102 GB, free: 6.73 MB / 0.8575 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches