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.008924/0.008924, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001886/0.001886, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.876/2.876, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 157.4 MB / 1.208 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002869/0.3167, allocations: 1.571 MB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3182, allocations: 0.9116 MB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.3183, allocations: 8 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.3186, allocations: 63.66 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.3191, allocations: 147.3 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.071e-05/0.3191, allocations: 11.94 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.3196, allocations: 370.3 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.196e-05/0.3197, allocations: 52.7 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.3199, allocations: 147.4 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.3202, allocations: 135.3 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.3202, allocations: 16 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.257e-05/0.3203, allocations: 16 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.3203, allocations: 51.7 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.3205, allocations: 127.3 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.3208, allocations: 286.9 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3208, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3208, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3208, allocations: 4 kB / 1.211 GB, free: 5.793 MB / 0.9669 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.001151/0.322, allocations: 0.6263 MB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.322, allocations: 8.625 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.3221, allocations: 36.5 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.3227, allocations: 394.2 kB / 1.213 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3227, allocations: 4.312 kB / 1.213 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3227, allocations: 4.375 kB / 1.213 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3229, allocations: 97.39 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3229, allocations: 0 / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3229, allocations: 0 / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3229, allocations: 11.88 kB / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.3231, allocations: 67.92 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.3235, allocations: 360 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3236, allocations: 106.4 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.3237, allocations: 67.45 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3237, allocations: 4 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3238, allocations: 38.44 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3238, allocations: 4 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003504/0.3241, allocations: 185.1 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.3242, allocations: 136.5 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005866/0.3248, allocations: 0.5093 MB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3248, allocations: 25.7 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.325, allocations: 168.6 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.325, allocations: 7.812 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.3251, allocations: 25.72 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3252, allocations: 342.8 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.3253, allocations: 31.97 kB / 1.215 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.3253, allocations: 59.39 kB / 1.215 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3255, allocations: 107.3 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3255, allocations: 0 / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002151/0.3257, allocations: 145.2 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3257, allocations: 9.5 kB / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3258, allocations: 0 / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3258, allocations: 4 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3259, allocations: 20.05 kB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3259, allocations: 0 / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3261, allocations: 11.98 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3261, allocations: 4 kB / 1.215 GB, free: 1.902 MB / 0.9669 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.0001474/0.3262, allocations: 173.8 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.3263, allocations: 35.56 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.3266, allocations: 203.6 kB / 1.215 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3267, allocations: 4 kB / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3267, allocations: 0 / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3267, allocations: 0 / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.327, allocations: 305.5 kB / 1.216 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.327, allocations: 0 / 1.216 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.3271, allocations: 15.98 kB / 1.216 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3271, allocations: 3.938 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3271, allocations: 4 kB / 1.216 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3271, allocations: 0 / 1.216 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3271, allocations: 3.938 kB / 1.216 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.3274, allocations: 191.3 kB / 1.216 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.3276, allocations: 144.6 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.3276, allocations: 3.938 kB / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3278, allocations: 15.97 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.3278, allocations: 8 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.3278, allocations: 8 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004493/0.3283, allocations: 391 kB / 1.216 GB, free: 316 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.633e-06/0.3283, allocations: 0 / 1.216 GB, free: 316 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002654/0.3286, allocations: 43.94 kB / 1.216 GB, free: 272 kB / 0.9669 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.0001082/0.3287, allocations: 99.25 kB / 1.217 GB, free: 164 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.3289, allocations: 88.05 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3289, allocations: 0 / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.397e-05/0.329, allocations: 47.91 kB / 1.217 GB, free: 28 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.3294, allocations: 71.91 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.3304, allocations: 0.5807 MB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.3308, allocations: 0.8143 MB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.3309, allocations: 62.23 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.331, allocations: 23.38 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.331, allocations: 0 / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.007531/0.3386, allocations: 3.679 MB / 1.222 GB, free: 10.82 MB / 0.9825 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