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.001098/0.001098, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001262/0.001262, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 436.5 MB / 0.7104 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 11.98 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6714, allocations: 153.7 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001753/0.6732, allocations: 1.237 MB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.6743, allocations: 0.8032 MB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.6744, allocations: 4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.6746, allocations: 51.72 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.675, allocations: 127.6 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.878e-05/0.675, allocations: 11.98 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.6753, allocations: 231.5 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.6754, allocations: 48.73 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.6756, allocations: 131.4 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.6758, allocations: 123.5 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.6759, allocations: 12 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.6789, allocations: 0.5031 MB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.679, allocations: 39.83 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.6791, allocations: 77.52 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.6795, allocations: 441.1 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.6796, allocations: 3.938 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6796, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.6796, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 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.001184/0.6808, allocations: 0.6108 MB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6808, allocations: 11.98 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.6809, allocations: 35.56 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.6814, allocations: 357.3 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.6814, allocations: 8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.6815, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.6816, allocations: 105 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6816, allocations: 4 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.6817, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6817, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.941e-05/0.6818, allocations: 67.88 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.6822, allocations: 348 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.6823, allocations: 106.4 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.6823, allocations: 7.984 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6823, allocations: 38.56 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6823, allocations: 0 / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003336/0.6827, allocations: 185.1 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.6828, allocations: 133 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/0.6833, allocations: 0.5053 MB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.6833, allocations: 25.7 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.6835, allocations: 156.3 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.6835, allocations: 23.78 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.6835, allocations: 0 / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6837, allocations: 338.8 kB / 1.027 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.6838, allocations: 119.9 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.684, allocations: 182.8 kB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.6842, allocations: 131.8 kB / 1.028 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.6842, allocations: 0 / 1.028 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004156/0.6846, allocations: 317.1 kB / 1.028 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.6847, allocations: 11.95 kB / 1.028 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6847, allocations: 0 / 1.028 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.6847, allocations: 4 kB / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.6848, allocations: 23.98 kB / 1.028 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6848, allocations: 7.875 kB / 1.028 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.685, allocations: 23.83 kB / 1.028 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.685, allocations: 7.984 kB / 1.028 GB, free: 9.137 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.6852, allocations: 185.7 kB / 1.028 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.6852, allocations: 27.62 kB / 1.028 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.6855, allocations: 187.6 kB / 1.029 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6856, allocations: 3.938 kB / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6856, allocations: 0 / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6856, allocations: 4 kB / 1.029 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.6858, allocations: 285.5 kB / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6858, allocations: 0 / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.6859, allocations: 19.98 kB / 1.029 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6859, allocations: 128 / 1.029 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.686, allocations: 8 kB / 1.029 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.686, allocations: 3.953 kB / 1.029 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.686, allocations: 3.938 kB / 1.029 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.6862, allocations: 236.3 kB / 1.029 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.6864, allocations: 132.6 kB / 1.029 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.6864, allocations: 4 kB / 1.029 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.6866, allocations: 7.984 kB / 1.029 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.6866, allocations: 7.984 kB / 1.029 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.6866, allocations: 4 kB / 1.029 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000391/0.687, allocations: 383 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.687, allocations: 4 kB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003792/0.6874, allocations: 96 kB / 1.03 GB, free: 7.438 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003324/0.6878, allocations: 139.4 kB / 1.03 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.6881, allocations: 191.8 kB / 1.03 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6881, allocations: 0 / 1.03 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.6882, allocations: 55.95 kB / 1.03 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.6885, allocations: 51.33 kB / 1.03 GB, free: 7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.6895, allocations: 0.6658 MB / 1.031 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.6899, allocations: 0.8223 MB / 1.032 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.6901, allocations: 45.92 kB / 1.032 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.6901, allocations: 19.44 kB / 1.032 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6902, allocations: 0 / 1.032 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of Templates: time 0.01079/0.7009, allocations: 6.417 MB / 1.038 GB, free: 15.02 MB / 0.795 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","../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches