Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.001561/0.001561, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001904/0.001904, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.702/2.702, allocations: 476.7 MB / 0.7706 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 66.11 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3047, allocations: 170 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003096/0.3078, allocations: 1.627 MB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3094, allocations: 0.9558 MB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.3095, allocations: 11.88 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.3097, allocations: 67.64 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004873/0.3102, allocations: 147.2 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.892e-05/0.3102, allocations: 7.984 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.3107, allocations: 366.3 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.3108, allocations: 12.94 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.3111, allocations: 155.3 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.3113, allocations: 135.3 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.3114, allocations: 16 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007772/0.3121, allocations: 0.5515 MB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.3122, allocations: 55.7 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.3124, allocations: 135.2 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.3138, allocations: 0.8498 MB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3138, allocations: 0 / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3138, allocations: 3.938 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.3138, allocations: 3.938 kB / 1.289 GB, free: 6.148 MB / 0.9825 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.001581/0.3154, allocations: 0.5821 MB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3154, allocations: 12.03 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3155, allocations: 36.7 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.3161, allocations: 320.8 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3161, allocations: 384 / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.3161, allocations: 4.375 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3163, allocations: 109.4 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3163, allocations: 7.922 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3163, allocations: 0 / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3163, allocations: 0 / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3165, allocations: 63.92 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.3169, allocations: 319.1 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3171, allocations: 106.4 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.3172, allocations: 59.45 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3172, allocations: 8 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3173, allocations: 42.44 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3173, allocations: 0 / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003955/0.3176, allocations: 177.3 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.3177, allocations: 133 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006904/0.3184, allocations: 0.5131 MB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3185, allocations: 25.7 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.3186, allocations: 160.4 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.3187, allocations: 19.83 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.3187, allocations: 49.66 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3189, allocations: 342.8 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3191, allocations: 107.8 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.3193, allocations: 162.8 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.3196, allocations: 243.2 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3196, allocations: 0 / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004646/0.3201, allocations: 297.3 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3201, allocations: 11.88 kB / 1.293 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3201, allocations: 7.984 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.3202, allocations: 4 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3203, allocations: 15.98 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3203, allocations: 4 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.3205, allocations: 23.88 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.3205, allocations: 4 kB / 1.293 GB, free: 1.938 MB / 0.9825 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001936/0.3207, allocations: 173.8 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.3208, allocations: 39.7 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.3211, allocations: 183.6 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3212, allocations: 4 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3212, allocations: 0 / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.3212, allocations: 4 kB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.3215, allocations: 256.6 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3215, allocations: 4 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.3216, allocations: 19.92 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3216, allocations: 3.938 kB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3216, allocations: 128 / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3216, allocations: 8 kB / 1.293 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3216, allocations: 0 / 1.293 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.3219, allocations: 199.3 kB / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.322, allocations: 67.61 kB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/0.3221, allocations: 4 kB / 1.294 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3222, allocations: 11.98 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.3222, allocations: 4.219 kB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3222, allocations: 7.938 kB / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004948/0.3227, allocations: 383 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3227, allocations: 0 / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005163/0.3233, allocations: 95.94 kB / 1.294 GB, free: 424 kB / 0.9825 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.004989/0.3282, allocations: 2.815 MB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.3287, allocations: 171.7 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3287, allocations: 0 / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.3288, allocations: 40.16 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.3292, allocations: 68.22 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3303, allocations: 0.5998 MB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.3308, allocations: 0.8143 MB / 1.298 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.3309, allocations: 45.92 kB / 1.298 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.331, allocations: 19.44 kB / 1.298 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.331, allocations: 0 / 1.298 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.0153/0.3463, allocations: 7.715 MB / 1.306 GB, free: 4.09 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.80259079998359]