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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.377/2.377, allocations: 390.3 MB / 402.8 MB, free: 6.637 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.00112/0.001121, allocations: 180.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001085/0.001085, allocations: 95.33 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.084e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3767, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.622, allocations: 152.2 MB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/1.622, allocations: 73.59 kB / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.778/3.401, allocations: 348.9 MB / 1.708 GB, free: 425 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.268e-06/3.401, allocations: 1.156 kB / 1.708 GB, free: 425 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.742e-05/3.401, allocations: 3.75 kB / 1.708 GB, free: 425 MB / 1.151 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.001998/3.403, allocations: 498.9 kB / 1.709 GB, free: 424.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/3.403, allocations: 9.938 kB / 1.709 GB, free: 424.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.696e-05/3.403, allocations: 30.69 kB / 1.709 GB, free: 424.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/3.404, allocations: 375.9 kB / 1.709 GB, free: 424.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/3.404, allocations: 5.562 kB / 1.709 GB, free: 424.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/3.404, allocations: 2.656 kB / 1.709 GB, free: 424.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/3.404, allocations: 94.61 kB / 1.709 GB, free: 424.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/3.404, allocations: 1.406 kB / 1.709 GB, free: 424.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/3.404, allocations: 3.531 kB / 1.709 GB, free: 424.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/3.404, allocations: 0.75 kB / 1.709 GB, free: 424.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/3.404, allocations: 76.14 kB / 1.709 GB, free: 424.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/3.405, allocations: 340.9 kB / 1.71 GB, free: 424.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/3.405, allocations: 106.4 kB / 1.71 GB, free: 424 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/3.405, allocations: 65.42 kB / 1.71 GB, free: 424 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/3.405, allocations: 4.516 kB / 1.71 GB, free: 424 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/3.405, allocations: 39.56 kB / 1.71 GB, free: 423.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/3.405, allocations: 1.312 kB / 1.71 GB, free: 423.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=4): time 0.0003507/3.405, allocations: 145.9 kB / 1.71 GB, free: 423.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/3.405, allocations: 134.1 kB / 1.71 GB, free: 423.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/3.406, allocations: 432.3 kB / 1.71 GB, free: 423.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/3.406, allocations: 26.61 kB / 1.71 GB, free: 423.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/3.406, allocations: 164.9 kB / 1.711 GB, free: 423.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/3.406, allocations: 6.469 kB / 1.711 GB, free: 423.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/3.406, allocations: 4.125 kB / 1.711 GB, free: 423.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001247/3.406, allocations: 349.4 kB / 1.711 GB, free: 423.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/3.407, allocations: 33.59 kB / 1.711 GB, free: 423.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/3.407, allocations: 91.7 kB / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.692e-05/3.407, allocations: 52.09 kB / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/3.407, allocations: 0 / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002682/3.407, allocations: 144.2 kB / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/3.407, allocations: 5 kB / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/3.407, allocations: 2.516 kB / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/3.407, allocations: 4.875 kB / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/3.407, allocations: 15.41 kB / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/3.407, allocations: 1.469 kB / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/3.407, allocations: 10.23 kB / 1.711 GB, free: 423.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/3.407, allocations: 2.609 kB / 1.711 GB, free: 423.1 MB / 1.151 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 6.604e-05/3.408, allocations: 112.9 kB / 1.711 GB, free: 422.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/3.408, allocations: 34.59 kB / 1.711 GB, free: 422.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/3.408, allocations: 192.4 kB / 1.712 GB, free: 422.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/3.408, allocations: 1.875 kB / 1.712 GB, free: 422.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/3.408, allocations: 1.953 kB / 1.712 GB, free: 422.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/3.408, allocations: 0.9062 kB / 1.712 GB, free: 422.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/3.408, allocations: 295.6 kB / 1.712 GB, free: 422.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/3.408, allocations: 1.859 kB / 1.712 GB, free: 422.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/3.409, allocations: 18.05 kB / 1.712 GB, free: 422.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/3.409, allocations: 2.375 kB / 1.712 GB, free: 422.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/3.409, allocations: 5.047 kB / 1.712 GB, free: 422.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/3.409, allocations: 9.938 kB / 1.712 GB, free: 422.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.409, allocations: 1.031 kB / 1.712 GB, free: 422.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/3.409, allocations: 231.8 kB / 1.712 GB, free: 422.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/3.409, allocations: 133.6 kB / 1.712 GB, free: 422.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/3.409, allocations: 3.016 kB / 1.712 GB, free: 422.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/3.409, allocations: 8.031 kB / 1.712 GB, free: 422.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/3.409, allocations: 9.984 kB / 1.712 GB, free: 422.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/3.409, allocations: 2.688 kB / 1.712 GB, free: 422.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005292/3.41, allocations: 357.3 kB / 1.713 GB, free: 422.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/3.41, allocations: 0.6562 kB / 1.713 GB, free: 422.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003144/3.41, allocations: 43.97 kB / 1.713 GB, free: 422.3 MB / 1.151 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.0002269/3.41, allocations: 129.5 kB / 1.713 GB, free: 422.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002531/3.411, allocations: 86.39 kB / 1.713 GB, free: 422.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/3.411, allocations: 1 kB / 1.713 GB, free: 422.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/3.411, allocations: 50.16 kB / 1.713 GB, free: 422.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/3.411, allocations: 67.92 kB / 1.713 GB, free: 422.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/3.412, allocations: 424.1 kB / 1.713 GB, free: 422 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/3.413, allocations: 0.8296 MB / 1.714 GB, free: 421.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002006/3.413, allocations: 55.64 kB / 1.714 GB, free: 421.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/3.413, allocations: 22.78 kB / 1.714 GB, free: 421.3 MB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/3.413, allocations: 0 / 1.714 GB, free: 421.3 MB / 1.151 GB Notification: Performance of Templates: time 0.0117/3.425, allocations: 3.601 MB / 1.718 GB, free: 421.1 MB / 1.151 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