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.0007982/0.0007982, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.005528/0.005529, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004477, allocations: 9 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3491, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002043/0.3512, allocations: 1.301 MB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3528, allocations: 0.9034 MB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.3529, allocations: 7.938 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.3532, allocations: 55.78 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005348/0.3538, allocations: 139.5 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.782e-05/0.3538, allocations: 3.984 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.3543, allocations: 362.3 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.3544, allocations: 44.73 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.3548, allocations: 123.4 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.355, allocations: 135.3 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.3551, allocations: 15.94 kB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.3585, allocations: 0.6564 MB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.3586, allocations: 47.7 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.3589, allocations: 153 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/0.3744, allocations: 13.28 MB / 1.075 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3745, allocations: 8 kB / 1.075 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3745, allocations: 0 / 1.075 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.3745, allocations: 0 / 1.075 GB, free: 4.191 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.001582/0.3761, allocations: 0.6033 MB / 1.076 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3762, allocations: 8.031 kB / 1.076 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3763, allocations: 32.56 kB / 1.076 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.3769, allocations: 374.2 kB / 1.076 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.377, allocations: 4.375 kB / 1.076 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.377, allocations: 8.375 kB / 1.076 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3772, allocations: 109.2 kB / 1.077 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3772, allocations: 0 / 1.077 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3772, allocations: 0 / 1.077 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3772, allocations: 0 / 1.077 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3774, allocations: 75.86 kB / 1.077 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.3778, allocations: 352.1 kB / 1.077 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.378, allocations: 106.3 kB / 1.077 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.3781, allocations: 63.39 kB / 1.077 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.3781, allocations: 11.98 kB / 1.077 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3782, allocations: 38.5 kB / 1.077 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3782, allocations: 0 / 1.077 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003811/0.3786, allocations: 185 kB / 1.077 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.3786, allocations: 137 kB / 1.077 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/0.3793, allocations: 0.4976 MB / 1.078 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3794, allocations: 25.7 kB / 1.078 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.3796, allocations: 160.3 kB / 1.078 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3797, allocations: 19.73 kB / 1.078 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.3797, allocations: 25.72 kB / 1.078 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002274/0.3799, allocations: 342.8 kB / 1.079 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3801, allocations: 115.9 kB / 1.079 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.3805, allocations: 192.1 kB / 1.079 GB, free: 452 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.3809, allocations: 263.2 kB / 1.079 GB, free: 176 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3809, allocations: 0 / 1.079 GB, free: 176 kB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005195/0.3814, allocations: 321.2 kB / 1.079 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3815, allocations: 7.938 kB / 1.079 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3815, allocations: 8 kB / 1.079 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3815, allocations: 0 / 1.079 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3817, allocations: 15.98 kB / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3817, allocations: 4 kB / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.3819, allocations: 31.72 kB / 1.079 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3819, allocations: 11.94 kB / 1.079 GB, free: 15.77 MB / 0.8419 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.0002141/0.3822, allocations: 175.3 kB / 1.08 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.3822, allocations: 35.56 kB / 1.08 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.3826, allocations: 179.8 kB / 1.08 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3826, allocations: 7.938 kB / 1.08 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3826, allocations: 0 / 1.08 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3826, allocations: 0 / 1.08 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.383, allocations: 297.3 kB / 1.08 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.383, allocations: 0 / 1.08 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.3831, allocations: 15.98 kB / 1.08 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.3831, allocations: 12.06 kB / 1.08 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3831, allocations: 4 kB / 1.08 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3832, allocations: 7.938 kB / 1.08 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3832, allocations: 0 / 1.08 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3835, allocations: 183.2 kB / 1.08 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.3837, allocations: 144.5 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.3837, allocations: 4 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3839, allocations: 7.984 kB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.3839, allocations: 7.984 kB / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3839, allocations: 8 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004671/0.3844, allocations: 375 kB / 1.081 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3844, allocations: 0 / 1.081 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000564/0.385, allocations: 96 kB / 1.081 GB, free: 14.13 MB / 0.8419 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.00531/0.3903, allocations: 2.819 MB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004485/0.3908, allocations: 188.1 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3908, allocations: 0 / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.3909, allocations: 51.89 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.3914, allocations: 57.5 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3926, allocations: 0.6816 MB / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.3931, allocations: 0.8107 MB / 1.085 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.3933, allocations: 41.92 kB / 1.085 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.3934, allocations: 23.44 kB / 1.086 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.3934, allocations: 4 kB / 1.086 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.01634/0.4097, allocations: 7.629 MB / 1.093 GB, free: 1.809 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