Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.001596/0.001596, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.00171/0.00171, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 443.4 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 71.88 kB / 1.059 GB, free: 444 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3075, allocations: 160.7 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002809/0.3103, allocations: 1.601 MB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3118, allocations: 0.9391 MB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.3119, allocations: 0 / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.3121, allocations: 67.64 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.3126, allocations: 135.3 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.501e-05/0.3126, allocations: 11.98 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004731/0.3131, allocations: 358.3 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.877e-05/0.3132, allocations: 20.73 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.3134, allocations: 147.4 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.3136, allocations: 135.4 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.3136, allocations: 16 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007099/0.3143, allocations: 0.5358 MB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.3144, allocations: 47.78 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.3146, allocations: 143.1 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.316, allocations: 0.8497 MB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.316, allocations: 4 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.001e-06/0.316, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.316, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 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.001446/0.3174, allocations: 0.6613 MB / 1.222 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3175, allocations: 8.031 kB / 1.222 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.3175, allocations: 32.75 kB / 1.222 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.3181, allocations: 374.6 kB / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3181, allocations: 4.375 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3181, allocations: 8.375 kB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3183, allocations: 101.4 kB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3183, allocations: 0 / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3183, allocations: 0 / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3183, allocations: 7.938 kB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3184, allocations: 71.86 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.3188, allocations: 340.1 kB / 1.223 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.319, allocations: 114.4 kB / 1.223 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.319, allocations: 59.39 kB / 1.223 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3191, allocations: 4 kB / 1.223 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3191, allocations: 34.5 kB / 1.223 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3191, allocations: 0 / 1.223 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003537/0.3195, allocations: 189.2 kB / 1.223 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.3195, allocations: 133 kB / 1.223 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.3202, allocations: 0.5053 MB / 1.224 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.3202, allocations: 29.7 kB / 1.224 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.3203, allocations: 160.4 kB / 1.224 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.3204, allocations: 19.83 kB / 1.224 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.3205, allocations: 49.64 kB / 1.224 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3206, allocations: 346.8 kB / 1.224 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.3208, allocations: 95.92 kB / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.321, allocations: 156.8 kB / 1.224 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.3214, allocations: 239.2 kB / 1.225 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3214, allocations: 0 / 1.225 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004422/0.3218, allocations: 293.2 kB / 1.225 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3218, allocations: 11.92 kB / 1.225 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3218, allocations: 0 / 1.225 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3218, allocations: 8 kB / 1.225 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.322, allocations: 23.92 kB / 1.225 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.322, allocations: 0 / 1.225 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.3222, allocations: 23.88 kB / 1.225 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.3222, allocations: 4 kB / 1.225 GB, free: 5.992 MB / 0.9669 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.0001917/0.3224, allocations: 177.8 kB / 1.225 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.3224, allocations: 35.75 kB / 1.225 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.3228, allocations: 183.9 kB / 1.225 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3228, allocations: 0 / 1.225 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3228, allocations: 4 kB / 1.225 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3228, allocations: 4 kB / 1.225 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.3231, allocations: 297.4 kB / 1.226 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3231, allocations: 3.984 kB / 1.226 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.3232, allocations: 12 kB / 1.226 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.3232, allocations: 11.88 kB / 1.226 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3232, allocations: 0 / 1.226 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3232, allocations: 4.125 kB / 1.226 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3232, allocations: 4 kB / 1.226 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.3235, allocations: 183.4 kB / 1.226 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.3236, allocations: 144.7 kB / 1.226 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.3237, allocations: 3.938 kB / 1.226 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3238, allocations: 15.98 kB / 1.226 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.3238, allocations: 11.92 kB / 1.226 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3239, allocations: 4 kB / 1.226 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004631/0.3243, allocations: 379 kB / 1.226 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3243, allocations: 0 / 1.226 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005015/0.3248, allocations: 103.9 kB / 1.226 GB, free: 4.336 MB / 0.9669 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.004865/0.3297, allocations: 2.803 MB / 1.229 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.3301, allocations: 171.9 kB / 1.229 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3301, allocations: 0 / 1.229 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.27e-05/0.3302, allocations: 43.91 kB / 1.229 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.3306, allocations: 57.72 kB / 1.229 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.3316, allocations: 0.6084 MB / 1.23 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.332, allocations: 0.8143 MB / 1.231 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.3322, allocations: 46.28 kB / 1.231 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.3322, allocations: 23.44 kB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of SimCode: time 8.22e-07/0.3322, allocations: 3.938 kB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.01311/0.3453, allocations: 7.658 MB / 1.238 GB, free: 8.07 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.265072125941515]