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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001631/0.001631, allocations: 115 kB / 16.37 MB, free: 5.539 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.002105/0.002105, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.445/2.445, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.28 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2864, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002897/0.2894, allocations: 1.597 MB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.2908, allocations: 0.9227 MB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.2909, allocations: 4 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.2912, allocations: 63.59 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004904/0.2917, allocations: 143.3 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.276e-05/0.2918, allocations: 15.98 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.2922, allocations: 362.3 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.2923, allocations: 44.73 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.2925, allocations: 147.3 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.2927, allocations: 131.4 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.2928, allocations: 16 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.296, allocations: 0.5629 MB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-05/0.2961, allocations: 59.69 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.2963, allocations: 131.2 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.3111, allocations: 13.22 MB / 1.044 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3111, allocations: 4 kB / 1.044 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3111, allocations: 0 / 1.044 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.3111, allocations: 0 / 1.044 GB, free: 0.5977 MB / 0.8106 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.001601/0.3127, allocations: 0.6537 MB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3128, allocations: 16.03 kB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.22e-05/0.3129, allocations: 28.56 kB / 1.044 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.3134, allocations: 374.3 kB / 1.045 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3135, allocations: 4.375 kB / 1.045 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3135, allocations: 8.375 kB / 1.045 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3137, allocations: 105.3 kB / 1.045 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3137, allocations: 4 kB / 1.045 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3137, allocations: 0 / 1.045 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3137, allocations: 4 kB / 1.045 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.3138, allocations: 67.88 kB / 1.045 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.3142, allocations: 336.1 kB / 1.045 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.3143, allocations: 110.4 kB / 1.045 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.3144, allocations: 63.45 kB / 1.045 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3145, allocations: 3.938 kB / 1.045 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3145, allocations: 46.44 kB / 1.045 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3145, allocations: 4 kB / 1.045 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003617/0.3149, allocations: 185.1 kB / 1.046 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.3149, allocations: 128.5 kB / 1.046 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.3155, allocations: 0.5018 MB / 1.046 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3156, allocations: 33.7 kB / 1.046 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3157, allocations: 156.4 kB / 1.046 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3157, allocations: 19.73 kB / 1.046 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.3158, allocations: 45.61 kB / 1.047 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3159, allocations: 350.8 kB / 1.047 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3161, allocations: 95.92 kB / 1.047 GB, free: 13 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.3163, allocations: 166.6 kB / 1.047 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.3166, allocations: 231.3 kB / 1.047 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3166, allocations: 0 / 1.047 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004008/0.317, allocations: 293.1 kB / 1.048 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.317, allocations: 10.44 kB / 1.048 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.317, allocations: 4 kB / 1.048 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.317, allocations: 0 / 1.048 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3172, allocations: 15.98 kB / 1.048 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3172, allocations: 11.98 kB / 1.048 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3174, allocations: 27.73 kB / 1.048 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3174, allocations: 4 kB / 1.048 GB, free: 12.21 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.0001757/0.3176, allocations: 181.7 kB / 1.048 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.3176, allocations: 35.56 kB / 1.048 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.318, allocations: 175.8 kB / 1.048 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.318, allocations: 4.234 kB / 1.048 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.318, allocations: 0 / 1.048 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.318, allocations: 3.984 kB / 1.048 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.3183, allocations: 289.4 kB / 1.048 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.3183, allocations: 0 / 1.048 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.3184, allocations: 19.98 kB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.3184, allocations: 7.938 kB / 1.048 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3184, allocations: 0 / 1.048 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3185, allocations: 0 / 1.048 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3185, allocations: 4 kB / 1.048 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3187, allocations: 187.3 kB / 1.049 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.3189, allocations: 144.5 kB / 1.049 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.3189, allocations: 0 / 1.049 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3191, allocations: 11.98 kB / 1.049 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.3191, allocations: 15.98 kB / 1.049 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3191, allocations: 4 kB / 1.049 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004157/0.3196, allocations: 379 kB / 1.049 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.573e-06/0.3196, allocations: 3.938 kB / 1.049 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005026/0.3201, allocations: 103.9 kB / 1.049 GB, free: 10.56 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.004464/0.3246, allocations: 2.815 MB / 1.052 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.3249, allocations: 167.8 kB / 1.052 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3249, allocations: 0 / 1.052 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.325, allocations: 51.91 kB / 1.052 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3254, allocations: 49.72 kB / 1.052 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.3263, allocations: 0.5842 MB / 1.053 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3266, allocations: 0.8182 MB / 1.054 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.3268, allocations: 46.28 kB / 1.054 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.649e-05/0.3268, allocations: 19.44 kB / 1.054 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3268, allocations: 0 / 1.054 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.01233/0.3392, allocations: 7.576 MB / 1.061 GB, free: 14.41 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches