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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008793/0.0008793, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008012/0.0008012, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9006/0.9006, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.768/1.768, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.695e-06/2.695e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.271e-05/4.541e-05, allocations: 6.219 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003007/0.003053, allocations: 1.571 MB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004255, allocations: 0.8606 MB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.121e-05/0.004346, allocations: 4 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.004613, allocations: 59.61 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.005052, allocations: 147.2 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.481e-05/0.005077, allocations: 7.969 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.005381, allocations: 392.1 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.005439, allocations: 12.94 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.005721, allocations: 207.3 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.005857, allocations: 119.7 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.005882, allocations: 16 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.005904, allocations: 16 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.005965, allocations: 55.69 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.006034, allocations: 79.78 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.00626, allocations: 271.1 kB / 1.005 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.006265, allocations: 4 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.066e-06/0.006268, allocations: 0 / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.006273, allocations: 0 / 1.005 GB, free: 9.23 MB / 0.9636 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.0007521/0.007025, allocations: 0.5588 MB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.007064, allocations: 8.75 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.007114, allocations: 36.7 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.00747, allocations: 339.9 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.007479, allocations: 4.375 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.007491, allocations: 384 / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.007626, allocations: 105.6 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.007633, allocations: 192 / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.007645, allocations: 4.359 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.00765, allocations: 3.938 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.007797, allocations: 63.88 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.008042, allocations: 275.9 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.282e-05/0.008135, allocations: 106.3 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.008193, allocations: 63.45 kB / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.00821, allocations: 0 / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.008233, allocations: 42.56 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.008234, allocations: 0 / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002704/0.008504, allocations: 185.2 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.008563, allocations: 136.9 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.008982, allocations: 0.5171 MB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.008994, allocations: 25.7 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.00908, allocations: 164.1 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.009112, allocations: 19.89 kB / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.009143, allocations: 21.61 kB / 1.007 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.009245, allocations: 350.8 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.009283, allocations: 27.97 kB / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.197e-05/0.009335, allocations: 63.39 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.009437, allocations: 103.3 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009439, allocations: 0 / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/0.009584, allocations: 145.4 kB / 1.008 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.009598, allocations: 4 kB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.009604, allocations: 4 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.009617, allocations: 0 / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.172e-05/0.009709, allocations: 15.98 kB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.009715, allocations: 7.875 kB / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.009789, allocations: 16.05 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.009796, allocations: 4 kB / 1.008 GB, free: 5.586 MB / 0.9636 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.0001147/0.009911, allocations: 177.8 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.009939, allocations: 31.77 kB / 1.008 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.01019, allocations: 183.7 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.0102, allocations: 0 / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.0102, allocations: 7.875 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01021, allocations: 7.938 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.01039, allocations: 229.2 kB / 1.008 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01039, allocations: 4 kB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.01044, allocations: 12 kB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01045, allocations: 0 / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01046, allocations: 4 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01046, allocations: 3.984 kB / 1.008 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01046, allocations: 0 / 1.008 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.01063, allocations: 195.3 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-05/0.01072, allocations: 63.72 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.01075, allocations: 4 kB / 1.009 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.01081, allocations: 11.97 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.01084, allocations: 20.02 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.01084, allocations: 4 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004916/0.01134, allocations: 395 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01134, allocations: 0 / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001609/0.0115, allocations: 40 kB / 1.009 GB, free: 4.152 MB / 0.9636 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 8.863e-05/0.01158, allocations: 95.25 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.01172, allocations: 87.86 kB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01173, allocations: 256 / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.01177, allocations: 47.91 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.01203, allocations: 73.61 kB / 1.009 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.01273, allocations: 0.5977 MB / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.01286, allocations: 207.4 kB / 1.01 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.01292, allocations: 24.48 kB / 1.01 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01292, allocations: 0 / 1.01 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of Templates: time 0.003685/0.0166, allocations: 3.85 MB / 1.014 GB, free: 15.12 MB / 0.9792 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.775923319160938]