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.001523/0.001523, allocations: 108.5 kB / 16.41 MB, free: 6.504 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.001307/0.001307, allocations: 192.3 kB / 17.35 MB, free: 5.762 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 60.12 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7592, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002773/0.762, allocations: 1.583 MB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.7634, allocations: 0.9151 MB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.7635, allocations: 4 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.7638, allocations: 63.64 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.7643, allocations: 151.2 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.84e-05/0.7643, allocations: 8 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.7648, allocations: 370.2 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.7648, allocations: 48.73 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.7651, allocations: 143.3 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.7653, allocations: 143.4 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.7654, allocations: 12 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.7686, allocations: 0.5668 MB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.7687, allocations: 43.78 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.7689, allocations: 151.1 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.784, allocations: 13.22 MB / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.784, allocations: 0 / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.442e-06/0.784, allocations: 0 / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.784, allocations: 0 / 1.225 GB, free: 12.18 MB / 0.9512 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.001365/0.7854, allocations: 0.6459 MB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.7854, allocations: 11.97 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.7855, allocations: 32.56 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.786, allocations: 382.2 kB / 1.226 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.786, allocations: 4.375 kB / 1.226 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.786, allocations: 4.375 kB / 1.226 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.7862, allocations: 97.39 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.7862, allocations: 4 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.7862, allocations: 4 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.7863, allocations: 0 / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.7864, allocations: 67.86 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.7867, allocations: 348.1 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.7869, allocations: 110.3 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.7869, allocations: 55.47 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.787, allocations: 4 kB / 1.227 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.787, allocations: 42.5 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.787, allocations: 0 / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000342/0.7874, allocations: 185.1 kB / 1.227 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.7874, allocations: 129 kB / 1.227 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.788, allocations: 0.5131 MB / 1.228 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.788, allocations: 25.7 kB / 1.228 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.7882, allocations: 156.3 kB / 1.228 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.7882, allocations: 11.91 kB / 1.228 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.7883, allocations: 57.53 kB / 1.228 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7884, allocations: 342.8 kB / 1.228 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.7885, allocations: 99.88 kB / 1.229 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.7887, allocations: 164.5 kB / 1.229 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.789, allocations: 239.2 kB / 1.229 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.789, allocations: 0 / 1.229 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004076/0.7894, allocations: 293.3 kB / 1.229 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7895, allocations: 11.94 kB / 1.229 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7895, allocations: 0 / 1.229 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7895, allocations: 7.984 kB / 1.229 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.7896, allocations: 19.92 kB / 1.229 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.7897, allocations: 4 kB / 1.229 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.7898, allocations: 19.83 kB / 1.229 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.7899, allocations: 7.984 kB / 1.229 GB, free: 7.809 MB / 0.9512 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.0001506/0.79, allocations: 177.8 kB / 1.229 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.7901, allocations: 31.56 kB / 1.23 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.7904, allocations: 191.6 kB / 1.23 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7904, allocations: 4 kB / 1.23 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7904, allocations: 0 / 1.23 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.7906, allocations: 124.7 kB / 1.23 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.7906, allocations: 8 kB / 1.23 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.7908, allocations: 7.984 kB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.7908, allocations: 7.984 kB / 1.23 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003199/0.7911, allocations: 446.7 kB / 1.23 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003597/0.7915, allocations: 0.5354 MB / 1.231 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.823e-05/0.7916, allocations: 43.97 kB / 1.231 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004059/0.792, allocations: 375 kB / 1.231 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of Backend: time 4.81e-07/0.792, allocations: 0 / 1.231 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005084/0.7971, allocations: 2.916 MB / 1.234 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001142/0.7982, allocations: 1.031 MB / 1.235 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of Templates: time 0.01178/0.81, allocations: 7.461 MB / 1.242 GB, free: 10.39 MB / 0.9669 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/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