Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 181 kB / 498.1 MB, free: 5.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 93.56 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003893, allocations: 6.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3467, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.5548, allocations: 151.4 MB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.5551, allocations: 79.91 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.527/2.082, allocations: 348.9 MB / 1.712 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.194e-06/2.082, allocations: 0 / 1.712 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.787e-05/2.082, allocations: 4.125 kB / 1.712 GB, free: 15.58 MB / 0.9948 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.002675/2.085, allocations: 0.6054 MB / 1.712 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/2.085, allocations: 12.03 kB / 1.712 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/2.085, allocations: 31.53 kB / 1.712 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000739/2.086, allocations: 381.2 kB / 1.713 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/2.086, allocations: 0 / 1.713 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/2.086, allocations: 4 kB / 1.713 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/2.086, allocations: 101 kB / 1.713 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/2.086, allocations: 0 / 1.713 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/2.086, allocations: 11.95 kB / 1.713 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/2.086, allocations: 0 / 1.713 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/2.086, allocations: 63.88 kB / 1.713 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/2.087, allocations: 334 kB / 1.713 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/2.087, allocations: 110.3 kB / 1.713 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/2.087, allocations: 3.938 kB / 1.713 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/2.087, allocations: 42.56 kB / 1.713 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/2.087, allocations: 0 / 1.713 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4): time 0.0004121/2.088, allocations: 185.1 kB / 1.713 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/2.088, allocations: 136.5 kB / 1.713 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005881/2.088, allocations: 437.2 kB / 1.714 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/2.088, allocations: 29.7 kB / 1.714 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/2.088, allocations: 160.1 kB / 1.714 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/2.089, allocations: 19.75 kB / 1.714 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/2.089, allocations: 0 / 1.714 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001552/2.089, allocations: 342.8 kB / 1.714 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/2.089, allocations: 35.97 kB / 1.714 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/2.089, allocations: 98.8 kB / 1.715 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.152e-05/2.089, allocations: 43.91 kB / 1.715 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/2.089, allocations: 0 / 1.715 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002657/2.089, allocations: 141.2 kB / 1.715 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/2.089, allocations: 12.12 kB / 1.715 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/2.089, allocations: 0 / 1.715 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/2.089, allocations: 0 / 1.715 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/2.089, allocations: 15.92 kB / 1.715 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/2.089, allocations: 4 kB / 1.715 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/2.09, allocations: 15.94 kB / 1.715 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/2.09, allocations: 0 / 1.715 GB, free: 11.96 MB / 0.9948 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001999/2.09, allocations: 177.8 kB / 1.715 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/2.09, allocations: 31.62 kB / 1.715 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/2.09, allocations: 187.7 kB / 1.715 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/2.09, allocations: 144 / 1.715 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/2.09, allocations: 7.984 kB / 1.715 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/2.09, allocations: 3.984 kB / 1.715 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/2.091, allocations: 301.3 kB / 1.715 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/2.091, allocations: 0 / 1.715 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/2.091, allocations: 16.12 kB / 1.715 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/2.091, allocations: 0 / 1.715 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/2.091, allocations: 8 kB / 1.715 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/2.091, allocations: 7.922 kB / 1.715 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.091, allocations: 4 kB / 1.715 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/2.091, allocations: 220.3 kB / 1.716 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/2.091, allocations: 132.6 kB / 1.716 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/2.091, allocations: 11.94 kB / 1.716 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/2.092, allocations: 8 kB / 1.716 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/2.092, allocations: 7.984 kB / 1.716 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/2.092, allocations: 4 kB / 1.716 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004598/2.092, allocations: 367.1 kB / 1.716 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.092, allocations: 0 / 1.716 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002962/2.092, allocations: 48 kB / 1.716 GB, free: 10.33 MB / 0.9948 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.000234/2.093, allocations: 130.9 kB / 1.716 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002007/2.093, allocations: 83.86 kB / 1.716 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.093, allocations: 0 / 1.716 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/2.093, allocations: 51.91 kB / 1.716 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/2.093, allocations: 59.12 kB / 1.717 GB, free: 10 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/2.094, allocations: 0.6595 MB / 1.717 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/2.095, allocations: 0.8262 MB / 1.718 GB, free: 8.449 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001909/2.095, allocations: 54.25 kB / 1.718 GB, free: 8.398 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/2.095, allocations: 27.42 kB / 1.718 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of SimCode: time 5.51e-07/2.095, allocations: 0 / 1.718 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of Templates: time 0.0092/2.104, allocations: 3.532 MB / 1.722 GB, free: 4.891 MB / 0.9948 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches