Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001856/0.001856, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.001954/0.001954, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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.611/1.611, allocations: 177.1 MB / 203.9 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.972/2.972, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.543e-05, allocations: 2.875 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003237/0.003262, allocations: 1.62 MB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.004977, allocations: 0.9302 MB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.005044, allocations: 5.344 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.005294, allocations: 55.61 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.00578, allocations: 148 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.02e-05/0.005821, allocations: 12.5 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000507/0.006328, allocations: 374.8 kB / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.006377, allocations: 13.84 kB / 0.7894 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.006755, allocations: 208 kB / 0.7896 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.006997, allocations: 129.4 kB / 0.7897 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.007045, allocations: 16 kB / 0.7897 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006535/0.007698, allocations: 433 kB / 0.7902 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.007784, allocations: 51.72 kB / 0.7902 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.00794, allocations: 93.09 kB / 0.7903 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.00984, allocations: 0.9475 MB / 0.7912 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.009843, allocations: 0 / 0.7912 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.009844, allocations: 1.594 kB / 0.7912 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.00985, allocations: 0 / 0.7912 GB, free: 7.848 MB / 0.7448 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.00156/0.01141, allocations: 0.7052 MB / 0.7919 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.01144, allocations: 8.031 kB / 0.7919 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.166e-05/0.01153, allocations: 36.7 kB / 0.792 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.01211, allocations: 314.9 kB / 0.7923 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.01212, allocations: 384 / 0.7923 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.01214, allocations: 4.375 kB / 0.7923 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.01233, allocations: 112.9 kB / 0.7924 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.01234, allocations: 0.9062 kB / 0.7924 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.01235, allocations: 4.375 kB / 0.7924 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.01236, allocations: 4.469 kB / 0.7924 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.01248, allocations: 64.77 kB / 0.7924 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.01295, allocations: 319.7 kB / 0.7927 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.01315, allocations: 133.1 kB / 0.7929 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.01325, allocations: 71.3 kB / 0.7929 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.01327, allocations: 3.938 kB / 0.7929 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.01332, allocations: 42.77 kB / 0.793 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.01332, allocations: 0 / 0.793 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003937/0.01371, allocations: 182.4 kB / 0.7932 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.01381, allocations: 137.3 kB / 0.7933 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.01489, allocations: 0.5924 MB / 0.7939 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.01491, allocations: 30.27 kB / 0.7939 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.01514, allocations: 235.1 kB / 0.7941 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.01516, allocations: 13.31 kB / 0.7941 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.01528, allocations: 71.3 kB / 0.7942 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003288/0.01561, allocations: 0.5313 MB / 0.7947 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.01574, allocations: 51.95 kB / 0.7948 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.01603, allocations: 262.7 kB / 0.795 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.01633, allocations: 176.9 kB / 0.7952 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01633, allocations: 0 / 0.7952 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004124/0.01674, allocations: 209.5 kB / 0.7954 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01676, allocations: 8 kB / 0.7954 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.01676, allocations: 0 / 0.7954 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.01678, allocations: 8.031 kB / 0.7954 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.01692, allocations: 19.42 kB / 0.7954 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.01694, allocations: 7.875 kB / 0.7954 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.01711, allocations: 23.88 kB / 0.7955 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.01713, allocations: 7.984 kB / 0.7955 GB, free: 3.152 MB / 0.7448 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.000216/0.01735, allocations: 216.5 kB / 0.7957 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.01742, allocations: 39.77 kB / 0.7957 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.01778, allocations: 168.5 kB / 0.7959 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.01778, allocations: 4 kB / 0.7959 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.01779, allocations: 4.438 kB / 0.7959 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.0178, allocations: 4 kB / 0.7959 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.01818, allocations: 273 kB / 0.7961 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01818, allocations: 0.5625 kB / 0.7961 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.01829, allocations: 12 kB / 0.7962 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.0183, allocations: 5.344 kB / 0.7962 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.01831, allocations: 7.984 kB / 0.7962 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01831, allocations: 0 / 0.7962 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.01832, allocations: 4.594 kB / 0.7962 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.01864, allocations: 208.5 kB / 0.7964 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.0188, allocations: 55.69 kB / 0.7964 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.01885, allocations: 4 kB / 0.7964 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.019, allocations: 11.98 kB / 0.7964 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.01903, allocations: 9.047 kB / 0.7964 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01903, allocations: 4 kB / 0.7964 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005634/0.0196, allocations: 431 kB / 0.7969 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0196, allocations: 4.469 kB / 0.7969 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005316/0.02013, allocations: 99.92 kB / 0.797 GB, free: 1.539 MB / 0.7448 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.005315/0.02544, allocations: 2.824 MB / 0.7997 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.02582, allocations: 135.5 kB / 0.7998 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.02582, allocations: 0 / 0.7998 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.02591, allocations: 55.78 kB / 0.7999 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.02632, allocations: 65.69 kB / 0.8 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.0274, allocations: 0.5797 MB / 0.8005 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.02785, allocations: 195.4 kB / 0.8007 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.02797, allocations: 42.28 kB / 0.8008 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.02804, allocations: 24.5 kB / 0.8008 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.02804, allocations: 0 / 0.8008 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of Templates: time 0.01532/0.04337, allocations: 7.954 MB / 0.8085 GB, free: 5.691 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.424660103977658]