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.001424/0.001424, allocations: 80.83 kB / 19.18 MB, free: 2.527 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.001604/0.001604, allocations: 165.3 kB / 22.46 MB, free: 5.355 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.44/1.44, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.72/2.72, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9509 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.44e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002777/0.002801, allocations: 1.573 MB / 0.9525 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.004337, allocations: 0.869 MB / 0.9533 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.00442, allocations: 4 kB / 0.9533 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.004663, allocations: 59.61 kB / 0.9534 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005031/0.005166, allocations: 147.2 kB / 0.9535 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.697e-05/0.005203, allocations: 4 kB / 0.9535 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.005671, allocations: 382.1 kB / 0.9539 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.005727, allocations: 12.94 kB / 0.9539 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.00613, allocations: 207.4 kB / 0.9541 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.006366, allocations: 127.7 kB / 0.9542 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.006411, allocations: 16 kB / 0.9542 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006691/0.00708, allocations: 484.8 kB / 0.9547 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.007167, allocations: 51.77 kB / 0.9548 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.007308, allocations: 87.72 kB / 0.9548 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.009012, allocations: 0.9046 MB / 0.9557 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.009017, allocations: 4 kB / 0.9557 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.009018, allocations: 0 / 0.9557 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.009032, allocations: 3.984 kB / 0.9557 GB, free: 6.723 MB / 0.8575 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.001456/0.01049, allocations: 0.5743 MB / 0.9563 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.01052, allocations: 12.03 kB / 0.9563 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.0106, allocations: 32.75 kB / 0.9563 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.01112, allocations: 316.1 kB / 0.9566 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.01114, allocations: 12.31 kB / 0.9566 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.01116, allocations: 4.375 kB / 0.9566 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.01132, allocations: 97.62 kB / 0.9567 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.01133, allocations: 192 / 0.9567 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.01134, allocations: 4.375 kB / 0.9567 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.01135, allocations: 7.875 kB / 0.9568 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.01146, allocations: 67.88 kB / 0.9568 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.01183, allocations: 267.8 kB / 0.9571 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.01197, allocations: 106.3 kB / 0.9572 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.01206, allocations: 63.45 kB / 0.9572 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.01208, allocations: 4 kB / 0.9572 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.0121, allocations: 38.5 kB / 0.9573 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.01211, allocations: 0 / 0.9573 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003798/0.01249, allocations: 189.7 kB / 0.9575 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.01256, allocations: 132.5 kB / 0.9576 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.0132, allocations: 0.5053 MB / 0.9581 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.01322, allocations: 29.7 kB / 0.9581 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.01336, allocations: 156.4 kB / 0.9583 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.01338, allocations: 19.89 kB / 0.9583 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.01346, allocations: 41.64 kB / 0.9583 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.01362, allocations: 350.8 kB / 0.9586 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.01379, allocations: 99.92 kB / 0.9587 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.01404, allocations: 261.6 kB / 0.959 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.01439, allocations: 243.2 kB / 0.9592 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01439, allocations: 4.031 kB / 0.9592 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004607/0.01485, allocations: 297.3 kB / 0.9595 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01487, allocations: 8 kB / 0.9595 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01488, allocations: 0 / 0.9595 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01489, allocations: 4 kB / 0.9595 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.01502, allocations: 19.92 kB / 0.9595 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.01503, allocations: 3.938 kB / 0.9595 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.01522, allocations: 27.83 kB / 0.9596 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.01523, allocations: 4 kB / 0.9596 GB, free: 2.469 MB / 0.8575 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.0001806/0.01541, allocations: 181.8 kB / 0.9598 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.01547, allocations: 35.81 kB / 0.9598 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.01581, allocations: 187.8 kB / 0.96 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01581, allocations: 0 / 0.96 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.01582, allocations: 7.938 kB / 0.96 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.01583, allocations: 3.984 kB / 0.96 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.01607, allocations: 221.1 kB / 0.9602 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01607, allocations: 0 / 0.9602 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.229e-05/0.01617, allocations: 12 kB / 0.9602 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01617, allocations: 4.125 kB / 0.9602 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.01618, allocations: 8 kB / 0.9602 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01619, allocations: 0 / 0.9602 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.01619, allocations: 3.984 kB / 0.9602 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.01645, allocations: 183.3 kB / 0.9604 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.01658, allocations: 63.67 kB / 0.9604 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.01663, allocations: 7.938 kB / 0.9605 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.01678, allocations: 11.98 kB / 0.9605 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.01681, allocations: 11.92 kB / 0.9605 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01682, allocations: 4 kB / 0.9605 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004669/0.01729, allocations: 383 kB / 0.9608 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01729, allocations: 0 / 0.9608 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005049/0.0178, allocations: 99.94 kB / 0.9609 GB, free: 0.9961 MB / 0.8575 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.004949/0.02275, allocations: 2.823 MB / 0.9637 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.02312, allocations: 171.8 kB / 0.9639 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.02312, allocations: 0 / 0.9639 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.0232, allocations: 47.89 kB / 0.9639 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.02359, allocations: 57.95 kB / 0.964 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.02459, allocations: 0.5797 MB / 0.9645 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.02481, allocations: 211.4 kB / 0.9647 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.02493, allocations: 46.28 kB / 0.9648 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/0.02501, allocations: 24.48 kB / 0.9648 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.02501, allocations: 11.94 kB / 0.9648 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.01507/0.04008, allocations: 7.885 MB / 0.9725 GB, free: 5.16 MB / 0.8731 GB " [Timeout remaining time 300] 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.040517054498196]