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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_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.007242/0.007242, allocations: 96.53 kB / 15.73 MB, free: 6.047 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.001708/0.001708, allocations: 196.8 kB / 16.67 MB, free: 5.977 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2883, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002534/0.2909, allocations: 1.578 MB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2922, allocations: 0.9268 MB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.2923, allocations: 3.938 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.2926, allocations: 59.66 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.293, allocations: 147.3 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.521e-05/0.2931, allocations: 7.984 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.2935, allocations: 370.2 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.2936, allocations: 48.73 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.2938, allocations: 139.4 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.294, allocations: 135.3 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.2941, allocations: 16 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.2972, allocations: 0.5629 MB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.2973, allocations: 55.7 kB / 1.171 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.2975, allocations: 135.2 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.3128, allocations: 13.24 MB / 1.184 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3128, allocations: 0 / 1.184 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3128, allocations: 0 / 1.184 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.495e-06/0.3128, allocations: 0 / 1.184 GB, free: 5.352 MB / 0.9356 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.001404/0.3142, allocations: 0.6652 MB / 1.184 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3143, allocations: 8.031 kB / 1.184 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.3144, allocations: 36.75 kB / 1.184 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.3149, allocations: 374.7 kB / 1.185 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3149, allocations: 4.375 kB / 1.185 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3149, allocations: 4.375 kB / 1.185 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3151, allocations: 105.3 kB / 1.185 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3151, allocations: 4 kB / 1.185 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3151, allocations: 0 / 1.185 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3152, allocations: 3.984 kB / 1.185 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3153, allocations: 63.88 kB / 1.185 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.3157, allocations: 348 kB / 1.185 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.3158, allocations: 106.4 kB / 1.185 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.687e-05/0.3159, allocations: 55.47 kB / 1.185 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3159, allocations: 0 / 1.185 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.316, allocations: 54.42 kB / 1.185 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.316, allocations: 0 / 1.185 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003752/0.3164, allocations: 181.3 kB / 1.186 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.3165, allocations: 128.5 kB / 1.186 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.3171, allocations: 0.5058 MB / 1.186 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3171, allocations: 29.7 kB / 1.186 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3172, allocations: 160.4 kB / 1.186 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.3173, allocations: 15.84 kB / 1.186 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.3173, allocations: 49.69 kB / 1.186 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3175, allocations: 338.8 kB / 1.187 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3176, allocations: 107.8 kB / 1.187 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3178, allocations: 166.8 kB / 1.187 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.3182, allocations: 231.2 kB / 1.187 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3182, allocations: 0 / 1.187 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004327/0.3186, allocations: 301.2 kB / 1.187 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3186, allocations: 11.94 kB / 1.187 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3187, allocations: 0 / 1.187 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3187, allocations: 0 / 1.187 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3188, allocations: 23.98 kB / 1.187 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3189, allocations: 3.984 kB / 1.188 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.319, allocations: 19.88 kB / 1.188 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.319, allocations: 11.98 kB / 1.188 GB, free: 0.9531 MB / 0.9356 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.0001838/0.3192, allocations: 177.7 kB / 1.188 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.3193, allocations: 31.75 kB / 1.188 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.3196, allocations: 192 kB / 1.188 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3196, allocations: 3.938 kB / 1.188 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3197, allocations: 0 / 1.188 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3197, allocations: 4 kB / 1.188 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3199, allocations: 297.4 kB / 1.188 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3199, allocations: 0 / 1.188 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/0.32, allocations: 15.98 kB / 1.188 GB, free: 188 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.32, allocations: 3.938 kB / 1.188 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3201, allocations: 4 kB / 1.188 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3201, allocations: 0 / 1.188 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3201, allocations: 4.125 kB / 1.188 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.3203, allocations: 187.4 kB / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3205, allocations: 136.8 kB / 1.189 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.3205, allocations: 8 kB / 1.189 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3206, allocations: 11.98 kB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.3207, allocations: 7.938 kB / 1.189 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3207, allocations: 7.984 kB / 1.189 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004179/0.3211, allocations: 375.1 kB / 1.189 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3211, allocations: 0 / 1.189 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004386/0.3216, allocations: 103.9 kB / 1.189 GB, free: 15.31 MB / 0.9512 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.004401/0.326, allocations: 2.809 MB / 1.192 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.3263, allocations: 175.7 kB / 1.192 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3263, allocations: 0 / 1.192 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.3264, allocations: 43.91 kB / 1.192 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.3268, allocations: 69.59 kB / 1.192 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009059/0.3277, allocations: 0.5932 MB / 1.193 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.3281, allocations: 0.8221 MB / 1.193 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.3282, allocations: 46.3 kB / 1.193 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.3283, allocations: 27.42 kB / 1.194 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.3283, allocations: 0 / 1.194 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.01192/0.3402, allocations: 7.585 MB / 1.201 GB, free: 3.102 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) 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) Reference file matches