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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.012/2.012, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8781 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.419e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003504/0.003538, allocations: 1.653 MB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.005568, allocations: 0.9317 MB / 0.8807 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.005684, allocations: 3.938 kB / 0.8807 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.006011, allocations: 56.75 kB / 0.8807 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006713/0.006682, allocations: 152.1 kB / 0.8809 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.86e-05/0.006731, allocations: 7.984 kB / 0.8809 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.007208, allocations: 376.5 kB / 0.8812 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.916e-05/0.007288, allocations: 16.92 kB / 0.8813 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.007749, allocations: 199.5 kB / 0.8814 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.008, allocations: 129 kB / 0.8816 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.008047, allocations: 16 kB / 0.8816 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.008617, allocations: 433 kB / 0.882 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.008709, allocations: 56.73 kB / 0.882 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.008824, allocations: 83.72 kB / 0.8821 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.01008, allocations: 0.8819 MB / 0.883 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.01008, allocations: 0 / 0.883 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/0.01009, allocations: 1.594 kB / 0.883 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.01009, allocations: 0 / 0.883 GB, free: 1.723 MB / 0.8386 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.001359/0.01145, allocations: 0.7039 MB / 0.8837 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.01149, allocations: 8.031 kB / 0.8837 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.01157, allocations: 32.75 kB / 0.8837 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.01192, allocations: 297.6 kB / 0.884 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.01193, allocations: 384 / 0.884 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.01195, allocations: 4.375 kB / 0.884 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.01206, allocations: 80.92 kB / 0.8841 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.01207, allocations: 192 / 0.8841 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.01208, allocations: 5.094 kB / 0.8841 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.01209, allocations: 11.88 kB / 0.8841 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.01212, allocations: 13.58 kB / 0.8841 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.0124, allocations: 291.7 kB / 0.8844 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.01249, allocations: 112.4 kB / 0.8845 GB, free: 4 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.01255, allocations: 40 kB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.01257, allocations: 3.938 kB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.01259, allocations: 41.39 kB / 0.8846 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.01259, allocations: 0 / 0.8846 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002285/0.01282, allocations: 93.36 kB / 0.8847 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.01288, allocations: 144.4 kB / 0.8848 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.01327, allocations: 0.4908 MB / 0.8853 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.01328, allocations: 29.7 kB / 0.8853 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01341, allocations: 227.1 kB / 0.8855 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.01344, allocations: 23.83 kB / 0.8856 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.0135, allocations: 59.84 kB / 0.8856 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01364, allocations: 0.543 MB / 0.8861 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.0137, allocations: 16 kB / 0.8862 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.01382, allocations: 216.2 kB / 0.8864 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.01395, allocations: 106.7 kB / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01395, allocations: 0 / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001938/0.01415, allocations: 141.4 kB / 0.8866 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01416, allocations: 8 kB / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01417, allocations: 0 / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.01419, allocations: 0 / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.0143, allocations: 15.98 kB / 0.8866 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.01431, allocations: 11.88 kB / 0.8866 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01441, allocations: 27.83 kB / 0.8867 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01442, allocations: 7.938 kB / 0.8867 GB, free: 13.59 MB / 0.8542 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 8.89e-05/0.01451, allocations: 160.6 kB / 0.8868 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.01455, allocations: 35.8 kB / 0.8869 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.01475, allocations: 123.9 kB / 0.887 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01476, allocations: 0 / 0.887 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.01476, allocations: 7.938 kB / 0.887 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01477, allocations: 4.109 kB / 0.887 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.01524, allocations: 272.4 kB / 0.8872 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01524, allocations: 0 / 0.8872 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.0153, allocations: 19.98 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.0153, allocations: 0 / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01531, allocations: 4 kB / 0.8873 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01532, allocations: 0 / 0.8873 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01532, allocations: 0 / 0.8873 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.01546, allocations: 167.2 kB / 0.8874 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.01554, allocations: 51.75 kB / 0.8875 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.01557, allocations: 3.984 kB / 0.8875 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.01564, allocations: 15.98 kB / 0.8875 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.01566, allocations: 7.938 kB / 0.8875 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.01566, allocations: 0 / 0.8875 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002115/0.01587, allocations: 327 kB / 0.8878 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01587, allocations: 0 / 0.8878 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004084/0.01628, allocations: 99.88 kB / 0.8879 GB, free: 12.23 MB / 0.8542 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002931/0.01921, allocations: 2.811 MB / 0.8907 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.01943, allocations: 80.09 kB / 0.8907 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.01944, allocations: 0 / 0.8907 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.01947, allocations: 35.61 kB / 0.8908 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.01976, allocations: 61.81 kB / 0.8908 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009696/0.02073, allocations: 0.5174 MB / 0.8913 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.602e-05/0.02079, allocations: 116.3 kB / 0.8914 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.054e-05/0.02088, allocations: 38.28 kB / 0.8915 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.02094, allocations: 24.48 kB / 0.8915 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of SimCode: time 1.462e-06/0.02094, allocations: 3.938 kB / 0.8915 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of Templates: time 0.01009/0.03103, allocations: 7.957 MB / 0.8993 GB, free: 0.5977 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.516632004873827]