Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 443.4 MB / 0.7304 GB, free: 13.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3046, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002889/0.3075, allocations: 1.604 MB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3091, allocations: 0.9279 MB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.3092, allocations: 7.938 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.3094, allocations: 55.66 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.3099, allocations: 139.3 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.083e-05/0.31, allocations: 11.97 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.3105, allocations: 374.3 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.3105, allocations: 16.75 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.3107, allocations: 143.4 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.311, allocations: 135.3 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.311, allocations: 16 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.311, allocations: 19.94 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.3111, allocations: 47.81 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3113, allocations: 135.2 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.3116, allocations: 286.7 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3116, allocations: 3.984 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3116, allocations: 0 / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.3116, allocations: 0 / 1.22 GB, free: 11.4 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.00117/0.3128, allocations: 0.6418 MB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3128, allocations: 8.031 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.3129, allocations: 32.75 kB / 1.221 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.3134, allocations: 390.6 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3135, allocations: 384 / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3135, allocations: 8.359 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3136, allocations: 109.3 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3136, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3137, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3137, allocations: 4 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3138, allocations: 63.88 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.3142, allocations: 356 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3144, allocations: 110.4 kB / 1.222 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.849e-05/0.3144, allocations: 67.33 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3145, allocations: 4 kB / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.3145, allocations: 42.5 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3145, allocations: 0 / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003437/0.3148, allocations: 181.3 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.3149, allocations: 136.5 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.3156, allocations: 0.5137 MB / 1.222 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3156, allocations: 29.7 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3158, allocations: 164.1 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3158, allocations: 11.91 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.3159, allocations: 21.7 kB / 1.223 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.316, allocations: 338.8 kB / 1.223 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.083e-05/0.3161, allocations: 35.95 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.3162, allocations: 59.34 kB / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3163, allocations: 107.3 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3163, allocations: 0 / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002244/0.3166, allocations: 149.3 kB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3166, allocations: 7.938 kB / 1.223 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3166, allocations: 4.125 kB / 1.223 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3166, allocations: 4 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3167, allocations: 11.98 kB / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3167, allocations: 4 kB / 1.223 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.3169, allocations: 15.97 kB / 1.223 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3169, allocations: 4 kB / 1.223 GB, free: 7.488 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.000164/0.3171, allocations: 173.7 kB / 1.224 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.3171, allocations: 39.73 kB / 1.224 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.3175, allocations: 187.7 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3175, allocations: 4 kB / 1.224 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3175, allocations: 0 / 1.224 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3175, allocations: 3.938 kB / 1.224 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.3178, allocations: 305.5 kB / 1.224 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3178, allocations: 4 kB / 1.224 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.3179, allocations: 19.97 kB / 1.224 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3179, allocations: 3.938 kB / 1.224 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3179, allocations: 4.125 kB / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3179, allocations: 4 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3179, allocations: 0 / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.3182, allocations: 191.3 kB / 1.224 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.3184, allocations: 148.8 kB / 1.224 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.3184, allocations: 3.938 kB / 1.224 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3185, allocations: 11.98 kB / 1.224 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.3186, allocations: 7.938 kB / 1.224 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3186, allocations: 11.92 kB / 1.224 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005002/0.3191, allocations: 391 kB / 1.225 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3191, allocations: 0 / 1.225 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002643/0.3193, allocations: 44 kB / 1.225 GB, free: 5.855 MB / 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.0001268/0.3195, allocations: 99.25 kB / 1.225 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.3197, allocations: 83.86 kB / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3197, allocations: 0 / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.3197, allocations: 47.89 kB / 1.225 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3201, allocations: 74.03 kB / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3212, allocations: 0.5919 MB / 1.226 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.3216, allocations: 0.8181 MB / 1.227 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.3217, allocations: 54.25 kB / 1.227 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.3218, allocations: 23.44 kB / 1.227 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.3218, allocations: 0 / 1.227 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of Templates: time 0.007786/0.3296, allocations: 3.633 MB / 1.23 GB, free: 436 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.161049699410796]