Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.001678/0.001678, allocations: 116.5 kB / 17.08 MB, free: 5.988 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.001743/0.001743, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.528/1.528, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.059/3.059, allocations: 489.3 MB / 0.7687 GB, free: 3.906 MB / 0.6075 GB " [Timeout remaining time 176] 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.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201/1.203, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003324/1.206, allocations: 1.585 MB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001566/1.208, allocations: 0.907 MB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/1.208, allocations: 6.625 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000298/1.208, allocations: 66.61 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005115/1.209, allocations: 145 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.725e-05/1.209, allocations: 7.719 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000535/1.209, allocations: 370.9 kB / 1.266 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/1.209, allocations: 47.03 kB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/1.21, allocations: 138.5 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/1.21, allocations: 132.5 kB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/1.21, allocations: 15.38 kB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.687e-05/1.21, allocations: 19.22 kB / 1.266 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/1.21, allocations: 51.16 kB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/1.21, allocations: 135.3 kB / 1.266 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/1.211, allocations: 297 kB / 1.266 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.211, allocations: 0 / 1.266 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.845e-06/1.211, allocations: 0 / 1.266 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.211, allocations: 1.312 kB / 1.266 GB, free: 5.609 MB / 0.9981 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.001219/1.212, allocations: 0.6361 MB / 1.267 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.212, allocations: 9.438 kB / 1.267 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/1.212, allocations: 35.97 kB / 1.267 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005985/1.213, allocations: 390.1 kB / 1.267 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.213, allocations: 5.188 kB / 1.267 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/1.213, allocations: 2.188 kB / 1.267 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/1.213, allocations: 105 kB / 1.268 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.213, allocations: 0 / 1.268 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.213, allocations: 0.8438 kB / 1.268 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/1.213, allocations: 0.875 kB / 1.268 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/1.213, allocations: 71.33 kB / 1.268 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/1.214, allocations: 357.3 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/1.214, allocations: 103 kB / 1.268 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/1.214, allocations: 62.55 kB / 1.268 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/1.214, allocations: 8.766 kB / 1.268 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/1.214, allocations: 40.73 kB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/1.214, allocations: 0.6875 kB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004246/1.214, allocations: 178.1 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/1.214, allocations: 143.8 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008328/1.215, allocations: 0.5109 MB / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/1.215, allocations: 30.48 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.215, allocations: 164.2 kB / 1.269 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/1.215, allocations: 15.02 kB / 1.269 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/1.215, allocations: 25.28 kB / 1.269 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.216, allocations: 342.2 kB / 1.269 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/1.216, allocations: 34.97 kB / 1.27 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-05/1.216, allocations: 61.45 kB / 1.27 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/1.216, allocations: 99.69 kB / 1.27 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.216, allocations: 0.8125 kB / 1.27 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002567/1.216, allocations: 150.6 kB / 1.27 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.216, allocations: 10.56 kB / 1.27 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/1.216, allocations: 5.781 kB / 1.27 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.216, allocations: 5.766 kB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/1.216, allocations: 10.5 kB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.216, allocations: 1.438 kB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/1.217, allocations: 11.08 kB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/1.217, allocations: 3.719 kB / 1.27 GB, free: 3.008 MB / 0.9981 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.0001872/1.217, allocations: 178.2 kB / 1.27 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/1.217, allocations: 42.55 kB / 1.27 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/1.217, allocations: 182.9 kB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.217, allocations: 1.688 kB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.217, allocations: 1.594 kB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.217, allocations: 0.6875 kB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/1.218, allocations: 312 kB / 1.271 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.218, allocations: 2 kB / 1.271 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/1.218, allocations: 18.78 kB / 1.271 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/1.218, allocations: 5.469 kB / 1.271 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/1.218, allocations: 1.219 kB / 1.271 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.218, allocations: 6.047 kB / 1.271 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.218, allocations: 1.344 kB / 1.271 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/1.218, allocations: 196.6 kB / 1.271 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/1.218, allocations: 134.3 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/1.218, allocations: 2.891 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/1.218, allocations: 14.19 kB / 1.271 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/1.219, allocations: 11.91 kB / 1.271 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/1.219, allocations: 6.781 kB / 1.271 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005057/1.219, allocations: 399 kB / 1.271 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.219, allocations: 4 kB / 1.271 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003021/1.219, allocations: 36.81 kB / 1.271 GB, free: 2.066 MB / 0.9981 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.0001189/1.219, allocations: 97.25 kB / 1.271 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002221/1.22, allocations: 93.45 kB / 1.272 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.22, allocations: 0.6875 kB / 1.272 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/1.22, allocations: 46.5 kB / 1.272 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/1.22, allocations: 68.84 kB / 1.272 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/1.221, allocations: 0.6143 MB / 1.272 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/1.222, allocations: 0.8114 MB / 1.273 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/1.222, allocations: 22.58 kB / 1.273 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/1.222, allocations: 0.6875 kB / 1.273 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of Templates: time 0.008137/1.23, allocations: 3.71 MB / 1.277 GB, free: 0.5156 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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: 12.660458612954244]