Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001817/0.001817, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002277/0.002277, allocations: 208 kB / 22.99 MB, free: 4.984 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.108/3.108, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002051/0.002051, allocations: 70.86 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2917, allocations: 176.1 MB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002799/0.2945, allocations: 1.571 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.296, allocations: 0.8685 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.846e-05/0.2961, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.2964, allocations: 59.67 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.2969, allocations: 139.3 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.739e-05/0.2969, allocations: 11.98 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.2974, allocations: 366.2 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.2974, allocations: 16.88 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.2977, allocations: 159.4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2979, allocations: 139.3 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.298, allocations: 16 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006691/0.2986, allocations: 492.8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.2987, allocations: 51.77 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2988, allocations: 107.4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.3004, allocations: 0.8458 MB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3004, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3004, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3005, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 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.001453/0.3019, allocations: 0.5821 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3019, allocations: 12.03 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.302, allocations: 32.75 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.3026, allocations: 324.7 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3026, allocations: 8.375 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3026, allocations: 4.375 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3028, allocations: 105.3 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3028, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3028, allocations: 4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3028, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3029, allocations: 71.86 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3032, allocations: 259.8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3034, allocations: 106.4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/0.3035, allocations: 55.47 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3035, allocations: 11.92 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3035, allocations: 38.56 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3035, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003619/0.3039, allocations: 185.6 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.304, allocations: 132.6 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.3047, allocations: 0.5092 MB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3047, allocations: 25.7 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.3048, allocations: 160.4 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3049, allocations: 11.95 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.3049, allocations: 53.64 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3051, allocations: 338.8 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3052, allocations: 103.9 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.3055, allocations: 267.1 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.3058, allocations: 243.3 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3058, allocations: 0 / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004329/0.3063, allocations: 309.2 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3063, allocations: 7.938 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3063, allocations: 3.938 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3063, allocations: 4 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3064, allocations: 15.98 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3065, allocations: 3.984 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3066, allocations: 23.83 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.3066, allocations: 4 kB / 1.336 GB, free: 7.957 MB / 1.029 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.0001908/0.3068, allocations: 190.2 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.3069, allocations: 36.05 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.3072, allocations: 191.6 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3072, allocations: 0 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3072, allocations: 4 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3073, allocations: 0 / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.3075, allocations: 209.2 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3075, allocations: 0 / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.3076, allocations: 15.98 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3076, allocations: 0 / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3076, allocations: 8.125 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3076, allocations: 3.938 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3076, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.3079, allocations: 199.3 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.308, allocations: 63.67 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.3081, allocations: 4 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3082, allocations: 15.92 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.3083, allocations: 7.984 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3083, allocations: 4 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004564/0.3087, allocations: 379 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3087, allocations: 4 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004568/0.3092, allocations: 99.94 kB / 1.337 GB, free: 6.48 MB / 1.029 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.004926/0.3141, allocations: 2.811 MB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.3145, allocations: 171.8 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3145, allocations: 0 / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.3146, allocations: 43.91 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.315, allocations: 59.47 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3161, allocations: 0.5959 MB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.3163, allocations: 215.4 kB / 1.341 GB, free: 2.523 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00012/0.3164, allocations: 50.28 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.3164, allocations: 19.44 kB / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3164, allocations: 0 / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of Templates: time 0.01341/0.3298, allocations: 8.271 MB / 1.349 GB, free: 10.24 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.741434875002597]