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.001424/0.001424, allocations: 110 kB / 18.93 MB, free: 2.945 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.001681/0.001681, allocations: 191.4 kB / 22.23 MB, free: 5.156 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.372/1.372, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.24/3.24, allocations: 0.4893 GB / 0.7884 GB, free: 33.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.002003/0.002003, allocations: 63.58 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4009, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002742/0.4036, allocations: 1.601 MB / 1.318 GB, free: 8.141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.405, allocations: 0.9383 MB / 1.318 GB, free: 7.195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.4051, allocations: 0 / 1.318 GB, free: 7.195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.4054, allocations: 63.66 kB / 1.319 GB, free: 7.133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.4058, allocations: 143.3 kB / 1.319 GB, free: 6.992 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.107e-05/0.4058, allocations: 8 kB / 1.319 GB, free: 6.984 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.4063, allocations: 374.2 kB / 1.319 GB, free: 6.617 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.125e-05/0.4063, allocations: 12.94 kB / 1.319 GB, free: 6.598 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.4065, allocations: 151.3 kB / 1.319 GB, free: 6.449 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.4067, allocations: 131.3 kB / 1.319 GB, free: 6.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.4068, allocations: 20 kB / 1.319 GB, free: 6.301 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.95e-05/0.4068, allocations: 16 kB / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.4069, allocations: 43.78 kB / 1.319 GB, free: 6.242 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.407, allocations: 143.1 kB / 1.32 GB, free: 6.102 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.4073, allocations: 278.8 kB / 1.32 GB, free: 5.828 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4073, allocations: 4 kB / 1.32 GB, free: 5.824 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4073, allocations: 0 / 1.32 GB, free: 5.824 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4074, allocations: 0 / 1.32 GB, free: 5.824 MB / 1.014 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.001083/0.4084, allocations: 0.5665 MB / 1.32 GB, free: 5.227 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.4085, allocations: 8.031 kB / 1.32 GB, free: 5.219 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.4085, allocations: 44.62 kB / 1.32 GB, free: 5.176 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.409, allocations: 332.7 kB / 1.321 GB, free: 4.832 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4091, allocations: 4.375 kB / 1.321 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.4091, allocations: 4.375 kB / 1.321 GB, free: 4.824 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.4092, allocations: 101.3 kB / 1.321 GB, free: 4.707 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4092, allocations: 4 kB / 1.321 GB, free: 4.703 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4092, allocations: 0 / 1.321 GB, free: 4.703 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4092, allocations: 0 / 1.321 GB, free: 4.703 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.4094, allocations: 71.86 kB / 1.321 GB, free: 4.633 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.4097, allocations: 327.2 kB / 1.321 GB, free: 4.262 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.4099, allocations: 102.4 kB / 1.321 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/0.41, allocations: 67.45 kB / 1.321 GB, free: 4.047 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.41, allocations: 3.938 kB / 1.321 GB, free: 4.043 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.41, allocations: 38.5 kB / 1.321 GB, free: 3.996 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.41, allocations: 0 / 1.321 GB, free: 3.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0003297/0.4103, allocations: 181.7 kB / 1.322 GB, free: 3.812 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.4104, allocations: 140.6 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.411, allocations: 0.5093 MB / 1.322 GB, free: 3.125 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4111, allocations: 25.7 kB / 1.322 GB, free: 3.094 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.4112, allocations: 164.1 kB / 1.322 GB, free: 2.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.4112, allocations: 15.89 kB / 1.322 GB, free: 2.914 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.4113, allocations: 21.67 kB / 1.322 GB, free: 2.887 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4114, allocations: 342.8 kB / 1.323 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.4115, allocations: 39.97 kB / 1.323 GB, free: 2.504 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.4116, allocations: 63.31 kB / 1.323 GB, free: 2.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.4117, allocations: 103.4 kB / 1.323 GB, free: 2.316 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4117, allocations: 4 kB / 1.323 GB, free: 2.312 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002151/0.4119, allocations: 149.3 kB / 1.323 GB, free: 2.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4119, allocations: 11.94 kB / 1.323 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4119, allocations: 0 / 1.323 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.412, allocations: 0 / 1.323 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4121, allocations: 11.98 kB / 1.323 GB, free: 2.137 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4121, allocations: 3.938 kB / 1.323 GB, free: 2.133 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.4122, allocations: 11.98 kB / 1.323 GB, free: 2.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4122, allocations: 0 / 1.323 GB, free: 2.121 MB / 1.014 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.0001589/0.4124, allocations: 185.8 kB / 1.323 GB, free: 1.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.4124, allocations: 35.75 kB / 1.323 GB, free: 1.895 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.4128, allocations: 179.6 kB / 1.324 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4128, allocations: 4 kB / 1.324 GB, free: 1.707 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4128, allocations: 0 / 1.324 GB, free: 1.707 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4128, allocations: 7.984 kB / 1.324 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.4131, allocations: 284.6 kB / 1.324 GB, free: 1.379 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4131, allocations: 3.938 kB / 1.324 GB, free: 1.375 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.381e-05/0.4132, allocations: 19.92 kB / 1.324 GB, free: 1.355 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.4132, allocations: 7.938 kB / 1.324 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4132, allocations: 0 / 1.324 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4132, allocations: 0 / 1.324 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4132, allocations: 4 kB / 1.324 GB, free: 1.344 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.4134, allocations: 195.3 kB / 1.324 GB, free: 1.125 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.4136, allocations: 63.66 kB / 1.324 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.4136, allocations: 8 kB / 1.324 GB, free: 1.055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.4138, allocations: 7.984 kB / 1.324 GB, free: 1.047 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.4138, allocations: 7.984 kB / 1.324 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.4138, allocations: 4 kB / 1.324 GB, free: 1.035 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004603/0.4142, allocations: 395 kB / 1.324 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4142, allocations: 4 kB / 1.324 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002424/0.4145, allocations: 36 kB / 1.325 GB, free: 0.6133 MB / 1.014 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.0001019/0.4146, allocations: 99.77 kB / 1.325 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.4148, allocations: 91.86 kB / 1.325 GB, free: 428 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4148, allocations: 0 / 1.325 GB, free: 428 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.4149, allocations: 44.28 kB / 1.325 GB, free: 384 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.4152, allocations: 69.62 kB / 1.325 GB, free: 312 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.4162, allocations: 0.5925 MB / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.4167, allocations: 0.8182 MB / 1.326 GB, free: 14.83 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.4168, allocations: 50.34 kB / 1.326 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.4169, allocations: 23.42 kB / 1.326 GB, free: 14.76 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.4169, allocations: 7.938 kB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Templates: time 0.007719/0.4246, allocations: 3.656 MB / 1.33 GB, free: 11.15 MB / 1.029 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.839839734137058]