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.002028/0.002028, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.0024/0.0024, allocations: 167.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.929/2.929, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 176] 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 1.903e-06/1.903e-06, allocations: 0 / 1 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.214e-05, allocations: 8.953 kB / 1 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003496/0.003528, allocations: 1.568 MB / 1.002 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.005458, allocations: 0.8683 MB / 1.002 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.005541, allocations: 3.938 kB / 1.002 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.005859, allocations: 55.62 kB / 1.003 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006306/0.00649, allocations: 151.2 kB / 1.003 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 4.884e-05/0.006538, allocations: 7.984 kB / 1.003 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006307/0.007169, allocations: 390.1 kB / 1.003 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.007245, allocations: 16.92 kB / 1.003 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.007706, allocations: 203.4 kB / 1.003 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.007993, allocations: 131.6 kB / 1.003 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.008043, allocations: 16 kB / 1.003 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.008109, allocations: 16 kB / 1.003 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.008216, allocations: 43.78 kB / 1.003 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.008378, allocations: 87.72 kB / 1.004 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.008823, allocations: 267.2 kB / 1.004 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.00883, allocations: 7.938 kB / 1.004 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.122e-06/0.008831, allocations: 0 / 1.004 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.008837, allocations: 0 / 1.004 GB, free: 2.449 MB / 0.9044 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.00143/0.01027, allocations: 0.5588 MB / 1.004 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.01032, allocations: 16.02 kB / 1.004 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.01041, allocations: 32.7 kB / 1.004 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.01111, allocations: 336 kB / 1.005 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.01112, allocations: 4.375 kB / 1.005 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.01114, allocations: 8.312 kB / 1.005 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.01137, allocations: 101.6 kB / 1.005 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.01138, allocations: 192 / 1.005 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.01139, allocations: 384 / 1.005 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.01141, allocations: 7.938 kB / 1.005 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.01156, allocations: 71.84 kB / 1.005 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.01207, allocations: 263.9 kB / 1.005 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.01226, allocations: 110.4 kB / 1.005 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.0124, allocations: 67.39 kB / 1.005 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.01242, allocations: 0 / 1.005 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.01247, allocations: 38.56 kB / 1.005 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.01247, allocations: 0 / 1.005 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0005047/0.01298, allocations: 181.3 kB / 1.006 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.01309, allocations: 136.5 kB / 1.006 GB, free: 344 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.01403, allocations: 0.5171 MB / 1.006 GB, free: 15.81 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.01405, allocations: 25.7 kB / 1.006 GB, free: 15.78 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.01422, allocations: 160.6 kB / 1.006 GB, free: 15.62 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.01426, allocations: 15.91 kB / 1.006 GB, free: 15.61 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.01433, allocations: 25.66 kB / 1.006 GB, free: 15.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.01454, allocations: 342.8 kB / 1.007 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.01463, allocations: 35.89 kB / 1.007 GB, free: 15.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.01473, allocations: 59.41 kB / 1.007 GB, free: 15.12 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.01495, allocations: 103.3 kB / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01495, allocations: 3.938 kB / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003158/0.01527, allocations: 145.4 kB / 1.007 GB, free: 14.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.01529, allocations: 8 kB / 1.007 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01529, allocations: 0 / 1.007 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.01531, allocations: 0 / 1.007 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.01545, allocations: 15.98 kB / 1.007 GB, free: 14.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.01547, allocations: 3.938 kB / 1.007 GB, free: 14.83 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.01566, allocations: 19.91 kB / 1.007 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.01568, allocations: 4 kB / 1.007 GB, free: 14.81 MB / 0.92 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.000262/0.01594, allocations: 179 kB / 1.007 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.01602, allocations: 35.81 kB / 1.007 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.01648, allocations: 179.7 kB / 1.007 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01648, allocations: 0 / 1.007 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.01649, allocations: 7.938 kB / 1.007 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.0165, allocations: 0 / 1.007 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.01685, allocations: 233.1 kB / 1.008 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01685, allocations: 0 / 1.008 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.01698, allocations: 19.92 kB / 1.008 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.01698, allocations: 8.125 kB / 1.008 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.017, allocations: 3.938 kB / 1.008 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.017, allocations: 0 / 1.008 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.017, allocations: 4 kB / 1.008 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.01738, allocations: 191.3 kB / 1.008 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.01757, allocations: 63.72 kB / 1.008 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.01763, allocations: 3.953 kB / 1.008 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.01784, allocations: 15.98 kB / 1.008 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.01787, allocations: 15.92 kB / 1.008 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01788, allocations: 0 / 1.008 GB, free: 13.79 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006682/0.01855, allocations: 395 kB / 1.008 GB, free: 13.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.01855, allocations: 0 / 1.008 GB, free: 13.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003747/0.01892, allocations: 44 kB / 1.008 GB, free: 13.37 MB / 0.92 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.000138/0.01906, allocations: 95.23 kB / 1.009 GB, free: 13.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.01931, allocations: 83.86 kB / 1.009 GB, free: 13.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.01932, allocations: 4 kB / 1.009 GB, free: 13.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.01942, allocations: 43.91 kB / 1.009 GB, free: 13.14 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.01994, allocations: 66.14 kB / 1.009 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.02128, allocations: 0.5879 MB / 1.009 GB, free: 12.45 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.02153, allocations: 203.4 kB / 1.009 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.02169, allocations: 54.27 kB / 1.01 GB, free: 12.18 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.0218, allocations: 24.48 kB / 1.01 GB, free: 12.16 MB / 0.92 GB Notification: Performance of SimCode: time 3.71e-07/0.0218, allocations: 0 / 1.01 GB, free: 12.16 MB / 0.92 GB Notification: Performance of Templates: time 0.01145/0.03324, allocations: 3.85 MB / 1.013 GB, free: 8.395 MB / 0.92 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: 8.287985999137163]