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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001236/0.001236, allocations: 105.6 kB / 16.41 MB, free: 6.5 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.001202/0.001202, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.216/1.216, 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 11.0.1-master/package.mo): time 2.312/2.312, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.89 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.618, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002351/0.6204, allocations: 1.579 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.6217, allocations: 0.919 MB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.6218, allocations: 3.938 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.6221, allocations: 63.64 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.6225, allocations: 147.3 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.337e-05/0.6225, allocations: 11.97 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.6229, allocations: 366.3 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.177e-05/0.623, allocations: 52.69 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.6232, allocations: 135.4 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.6234, allocations: 139.3 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.6234, allocations: 20 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.311e-05/0.6235, allocations: 16 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.6235, allocations: 51.75 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.6237, allocations: 127.2 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.6239, allocations: 288.6 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6239, allocations: 0 / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6239, allocations: 4 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6239, allocations: 0 / 1.212 GB, free: 9.719 MB / 0.9356 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.0009498/0.6249, allocations: 0.6224 MB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.6249, allocations: 12.03 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.625, allocations: 28.56 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.6254, allocations: 390.2 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-06/0.6255, allocations: 4.375 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.6255, allocations: 8.359 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.6256, allocations: 105.3 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.6256, allocations: 0 / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.6256, allocations: 4 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6257, allocations: 0 / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.6257, allocations: 63.88 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.6261, allocations: 356 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.6262, allocations: 110.3 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.694e-05/0.6263, allocations: 67.45 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.6263, allocations: 3.938 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.6263, allocations: 38.5 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.6263, allocations: 0 / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.00029/0.6266, allocations: 185.5 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.6267, allocations: 132.6 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.6272, allocations: 0.5132 MB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.6272, allocations: 25.7 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.6273, allocations: 164.1 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.6273, allocations: 15.75 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.6274, allocations: 21.7 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.6275, allocations: 342.8 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/0.6276, allocations: 43.95 kB / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.6276, allocations: 55.39 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.6277, allocations: 107.3 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6278, allocations: 4 kB / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001864/0.6279, allocations: 141.1 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.628, allocations: 7.938 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.628, allocations: 4 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.628, allocations: 3.984 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.6281, allocations: 8 kB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6281, allocations: 3.984 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.6282, allocations: 11.98 kB / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.6282, allocations: 128 / 1.216 GB, free: 5.848 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.000133/0.6284, allocations: 185.8 kB / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.6284, allocations: 35.56 kB / 1.216 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.6287, allocations: 175.7 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6287, allocations: 4 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6287, allocations: 0 / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6287, allocations: 4.125 kB / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.629, allocations: 317.5 kB / 1.216 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.629, allocations: 0 / 1.216 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.6291, allocations: 27.91 kB / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6291, allocations: 3.938 kB / 1.216 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.6291, allocations: 7.938 kB / 1.216 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6291, allocations: 0 / 1.216 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6291, allocations: 4 kB / 1.216 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.6293, allocations: 191.1 kB / 1.217 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.6295, allocations: 136.6 kB / 1.217 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.6295, allocations: 8 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.6297, allocations: 7.984 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.6297, allocations: 7.984 kB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.6297, allocations: 4 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000395/0.6301, allocations: 399 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.6301, allocations: 0 / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002264/0.6303, allocations: 36 kB / 1.217 GB, free: 4.211 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 7.982e-05/0.6304, allocations: 103.2 kB / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.6306, allocations: 83.86 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6306, allocations: 0 / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.727e-05/0.6307, allocations: 48.27 kB / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.631, allocations: 73.59 kB / 1.217 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008495/0.6318, allocations: 0.6058 MB / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.6322, allocations: 0.8065 MB / 1.219 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.6322, allocations: 27.44 kB / 1.219 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.6322, allocations: 0 / 1.219 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of Templates: time 0.00502/0.6373, allocations: 3.715 MB / 1.222 GB, free: 14.7 MB / 0.9512 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/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