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.504/2.504, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001084/0.001084, allocations: 172.8 kB / 492.3 MB, free: 0.6133 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.649/1.649, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.001111/0.001111, allocations: 90.59 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.044e-05/4.047e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3797, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.672, allocations: 151.3 MB / 1.36 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.672, allocations: 75.95 kB / 1.36 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8526/2.525, allocations: 348.9 MB / 1.701 GB, free: 4.684 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.693e-06/2.525, allocations: 0 / 1.701 GB, free: 4.684 MB / 1.12 GB Notification: Performance of Transformations before backend: time 3.536e-05/2.525, allocations: 4 kB / 1.701 GB, free: 4.68 MB / 1.12 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.002252/2.527, allocations: 0.4925 MB / 1.701 GB, free: 4.164 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/2.527, allocations: 16.03 kB / 1.701 GB, free: 4.148 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/2.528, allocations: 35.58 kB / 1.702 GB, free: 4.113 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/2.528, allocations: 374.4 kB / 1.702 GB, free: 3.75 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/2.528, allocations: 4 kB / 1.702 GB, free: 3.746 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/2.528, allocations: 4 kB / 1.702 GB, free: 3.742 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/2.529, allocations: 99.31 kB / 1.702 GB, free: 3.637 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/2.529, allocations: 3.938 kB / 1.702 GB, free: 3.633 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/2.529, allocations: 3.5 kB / 1.702 GB, free: 3.633 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/2.529, allocations: 3.953 kB / 1.702 GB, free: 3.629 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/2.529, allocations: 62.44 kB / 1.702 GB, free: 3.578 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/2.529, allocations: 341.7 kB / 1.702 GB, free: 3.238 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/2.529, allocations: 105.3 kB / 1.702 GB, free: 3.109 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/2.529, allocations: 65.14 kB / 1.703 GB, free: 3.043 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/2.529, allocations: 4 kB / 1.703 GB, free: 3.039 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/2.53, allocations: 41.88 kB / 1.703 GB, free: 2.992 MB / 1.12 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/2.53, allocations: 0 / 1.703 GB, free: 2.992 MB / 1.12 GB Notification: Performance of matching and sorting (n=4): time 0.0003301/2.53, allocations: 145.9 kB / 1.703 GB, free: 2.859 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/2.53, allocations: 128.5 kB / 1.703 GB, free: 2.703 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006418/2.531, allocations: 433.6 kB / 1.703 GB, free: 2.355 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/2.531, allocations: 29.83 kB / 1.703 GB, free: 2.32 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/2.531, allocations: 171 kB / 1.703 GB, free: 2.207 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/2.531, allocations: 15.73 kB / 1.703 GB, free: 2.191 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/2.531, allocations: 0 / 1.703 GB, free: 2.191 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001403/2.531, allocations: 344.2 kB / 1.704 GB, free: 1.859 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.218e-05/2.531, allocations: 36.78 kB / 1.704 GB, free: 1.832 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/2.531, allocations: 97.06 kB / 1.704 GB, free: 1.723 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.4e-05/2.531, allocations: 37.34 kB / 1.704 GB, free: 1.695 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/2.531, allocations: 0 / 1.704 GB, free: 1.695 MB / 1.12 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002423/2.531, allocations: 150 kB / 1.704 GB, free: 1.559 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/2.532, allocations: 9.375 kB / 1.704 GB, free: 1.551 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/2.532, allocations: 4 kB / 1.704 GB, free: 1.547 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/2.532, allocations: 3.984 kB / 1.704 GB, free: 1.543 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/2.532, allocations: 8 kB / 1.704 GB, free: 1.535 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/2.532, allocations: 0 / 1.704 GB, free: 1.535 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/2.532, allocations: 15.94 kB / 1.704 GB, free: 1.52 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/2.532, allocations: 0 / 1.704 GB, free: 1.52 MB / 1.12 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 () * 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 9.359e-05/2.532, allocations: 112.3 kB / 1.704 GB, free: 1.406 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/2.532, allocations: 31.62 kB / 1.704 GB, free: 1.375 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/2.532, allocations: 191 kB / 1.704 GB, free: 1.215 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/2.532, allocations: 0 / 1.704 GB, free: 1.215 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/2.532, allocations: 4 kB / 1.704 GB, free: 1.211 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/2.532, allocations: 0 / 1.704 GB, free: 1.211 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/2.533, allocations: 307.2 kB / 1.705 GB, free: 0.9062 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/2.533, allocations: 0 / 1.705 GB, free: 0.9062 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-05/2.533, allocations: 20.05 kB / 1.705 GB, free: 0.8867 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/2.533, allocations: 7.938 kB / 1.705 GB, free: 0.8789 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/2.533, allocations: 7.938 kB / 1.705 GB, free: 0.875 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/2.533, allocations: 0 / 1.705 GB, free: 0.875 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/2.533, allocations: 4 kB / 1.705 GB, free: 0.8711 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/2.533, allocations: 219.4 kB / 1.705 GB, free: 0.6328 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/2.533, allocations: 126.8 kB / 1.705 GB, free: 0.4961 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/2.533, allocations: 7.016 kB / 1.705 GB, free: 0.4922 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/2.534, allocations: 11.92 kB / 1.705 GB, free: 492 kB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/2.534, allocations: 4 kB / 1.705 GB, free: 488 kB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/2.534, allocations: 4 kB / 1.705 GB, free: 484 kB / 1.12 GB Notification: Performance of sorting global known variables: time 0.000412/2.534, allocations: 361.6 kB / 1.705 GB, free: 200 kB / 1.12 GB Notification: Performance of sort global known variables: time 4.11e-07/2.534, allocations: 0 / 1.705 GB, free: 200 kB / 1.12 GB Notification: Performance of remove unused functions: time 0.0003021/2.534, allocations: 51.73 kB / 1.706 GB, free: 152 kB / 1.12 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 () * 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.0002001/2.535, allocations: 132.5 kB / 1.706 GB, free: 16 kB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.000193/2.535, allocations: 82.48 kB / 1.706 GB, free: 15.95 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/2.535, allocations: 0 / 1.706 GB, free: 15.95 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/2.535, allocations: 50.09 kB / 1.706 GB, free: 15.91 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/2.535, allocations: 59.03 kB / 1.706 GB, free: 15.87 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008268/2.536, allocations: 425.3 kB / 1.706 GB, free: 15.46 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/2.536, allocations: 0.82 MB / 1.707 GB, free: 14.63 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.000184/2.537, allocations: 58.03 kB / 1.707 GB, free: 14.57 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/2.537, allocations: 23.42 kB / 1.707 GB, free: 14.55 MB / 1.135 GB Notification: Performance of SimCode: time 3.106e-06/2.537, allocations: 0 / 1.707 GB, free: 14.55 MB / 1.135 GB Notification: Performance of Templates: time 0.008663/2.545, allocations: 3.613 MB / 1.711 GB, free: 11.01 MB / 1.135 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