Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 193.1 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 461.8 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.38 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2649, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002836/0.2677, allocations: 1.644 MB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.2691, allocations: 0.915 MB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.2692, allocations: 4 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.2695, allocations: 59.72 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.2699, allocations: 135.4 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.548e-05/0.27, allocations: 15.98 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.2704, allocations: 354.3 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.2705, allocations: 48.73 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.2707, allocations: 127.4 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.2709, allocations: 131.3 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.2709, allocations: 12 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.2744, allocations: 0.668 MB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2745, allocations: 43.75 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.2747, allocations: 131.2 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.2906, allocations: 13.29 MB / 1.069 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2906, allocations: 3.938 kB / 1.069 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2906, allocations: 0 / 1.069 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.2907, allocations: 0 / 1.069 GB, free: 7.176 MB / 0.8262 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.001567/0.2922, allocations: 0.6498 MB / 1.07 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2923, allocations: 8.031 kB / 1.07 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.2924, allocations: 36.55 kB / 1.07 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.2929, allocations: 366.3 kB / 1.07 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2929, allocations: 8.375 kB / 1.07 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.2929, allocations: 4.375 kB / 1.07 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.2931, allocations: 101.4 kB / 1.07 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2931, allocations: 7.938 kB / 1.07 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2931, allocations: 0 / 1.07 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2931, allocations: 4 kB / 1.07 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.2933, allocations: 71.8 kB / 1.07 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.2937, allocations: 352 kB / 1.071 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.2938, allocations: 102.4 kB / 1.071 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/0.2939, allocations: 63.45 kB / 1.071 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2939, allocations: 3.984 kB / 1.071 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2939, allocations: 46.44 kB / 1.071 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2939, allocations: 0 / 1.071 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003328/0.2943, allocations: 181.1 kB / 1.071 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.2944, allocations: 136.4 kB / 1.071 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.2949, allocations: 0.5014 MB / 1.072 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.295, allocations: 26.2 kB / 1.072 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.2951, allocations: 160.4 kB / 1.072 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.2951, allocations: 19.75 kB / 1.072 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.2952, allocations: 53.59 kB / 1.072 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2954, allocations: 338.8 kB / 1.072 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.2955, allocations: 115.9 kB / 1.072 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.2958, allocations: 183.8 kB / 1.073 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.2961, allocations: 267.2 kB / 1.073 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2961, allocations: 3.938 kB / 1.073 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004755/0.2966, allocations: 325.1 kB / 1.073 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2966, allocations: 9.5 kB / 1.073 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2967, allocations: 4 kB / 1.073 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2967, allocations: 0 / 1.073 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.2968, allocations: 15.98 kB / 1.073 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.2968, allocations: 7.984 kB / 1.073 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.297, allocations: 27.73 kB / 1.073 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.2971, allocations: 8 kB / 1.073 GB, free: 2.703 MB / 0.8262 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.0001756/0.2972, allocations: 181.7 kB / 1.073 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.2973, allocations: 35.5 kB / 1.073 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.2976, allocations: 175.8 kB / 1.074 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2976, allocations: 4 kB / 1.074 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2977, allocations: 0 / 1.074 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2977, allocations: 4 kB / 1.074 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.298, allocations: 297.3 kB / 1.074 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.298, allocations: 4 kB / 1.074 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.2982, allocations: 15.94 kB / 1.074 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.2982, allocations: 3.938 kB / 1.074 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2982, allocations: 0 / 1.074 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/0.2982, allocations: 8 kB / 1.074 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2982, allocations: 96 / 1.074 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.2986, allocations: 191.2 kB / 1.074 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.2988, allocations: 136.5 kB / 1.074 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.2988, allocations: 8 kB / 1.074 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.299, allocations: 7.984 kB / 1.074 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.299, allocations: 11.98 kB / 1.074 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.299, allocations: 4 kB / 1.074 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004286/0.2994, allocations: 375 kB / 1.075 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2995, allocations: 0 / 1.075 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005102/0.3, allocations: 100 kB / 1.075 GB, free: 1.059 MB / 0.8262 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.004972/0.305, allocations: 2.815 MB / 1.078 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.3054, allocations: 187.8 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3054, allocations: 0 / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.3055, allocations: 47.89 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3059, allocations: 64.86 kB / 1.078 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.307, allocations: 0.6561 MB / 1.078 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.3074, allocations: 0.8184 MB / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.3075, allocations: 53.91 kB / 1.079 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.3076, allocations: 19.44 kB / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.3076, allocations: 0 / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of Templates: time 0.01255/0.3202, allocations: 7.691 MB / 1.087 GB, free: 4.684 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches