Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008102/0.0008102, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00166/0.002471, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001057/0.001057, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002399, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9198/0.9198, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09423/1.014, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.778/1.778, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4531/2.231, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.[0-9,]+..T",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.065e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002337/0.002358, allocations: 1.699 MB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.003268, allocations: 0.9492 MB / 0.7322 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.003327, allocations: 5.094 kB / 0.7322 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.003459, allocations: 52.77 kB / 0.7323 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.003749, allocations: 158.4 kB / 0.7324 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.054e-05/0.003769, allocations: 0 / 0.7324 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.004066, allocations: 387 kB / 0.7328 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.004117, allocations: 18.89 kB / 0.7328 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.004414, allocations: 281.3 kB / 0.7331 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.004551, allocations: 120.4 kB / 0.7332 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.004577, allocations: 16.84 kB / 0.7332 GB, free: 0.832 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.005161, allocations: 0.5711 MB / 0.7338 GB, free: 252 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.005215, allocations: 40.61 kB / 0.7338 GB, free: 212 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.005282, allocations: 67.81 kB / 0.7339 GB, free: 144 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008217/0.006103, allocations: 0.7658 MB / 0.7346 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.006113, allocations: 3.938 kB / 0.7346 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006114, allocations: 3.938 kB / 0.7346 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.006128, allocations: 0 / 0.7346 GB, free: 15.37 MB / 0.7136 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.0009601/0.007088, allocations: 0.6555 MB / 0.7353 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.007123, allocations: 8.031 kB / 0.7353 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.007176, allocations: 20.91 kB / 0.7353 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.007448, allocations: 257.5 kB / 0.7355 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.007458, allocations: 5.688 kB / 0.7355 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.007474, allocations: 4.375 kB / 0.7355 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.44e-05/0.007569, allocations: 69.59 kB / 0.7356 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.007576, allocations: 192 / 0.7356 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.007584, allocations: 5.875 kB / 0.7356 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.007593, allocations: 3.938 kB / 0.7356 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.007616, allocations: 15.92 kB / 0.7356 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.007731, allocations: 100.1 kB / 0.7357 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.714e-05/0.007798, allocations: 79.84 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.007829, allocations: 31.44 kB / 0.7358 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.007841, allocations: 0 / 0.7358 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.007863, allocations: 39.16 kB / 0.7359 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.007863, allocations: 1.344 kB / 0.7359 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001461/0.008009, allocations: 78.77 kB / 0.7359 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.008058, allocations: 132.5 kB / 0.7361 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.008274, allocations: 327.4 kB / 0.7364 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.008289, allocations: 30.95 kB / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.008353, allocations: 121 kB / 0.7365 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.008375, allocations: 19.83 kB / 0.7366 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.008423, allocations: 50.41 kB / 0.7366 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0005248/0.008948, allocations: 346.7 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.008992, allocations: 30.75 kB / 0.737 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.009075, allocations: 172.1 kB / 0.7371 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.627e-05/0.009171, allocations: 103.6 kB / 0.7372 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009173, allocations: 0 / 0.7372 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000143/0.009316, allocations: 130.1 kB / 0.7373 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.00933, allocations: 4 kB / 0.7373 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.009338, allocations: 0 / 0.7373 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.009351, allocations: 5.219 kB / 0.7374 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.009443, allocations: 15.98 kB / 0.7374 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.009449, allocations: 7.984 kB / 0.7374 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.009528, allocations: 24.45 kB / 0.7374 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.009537, allocations: 0 / 0.7374 GB, free: 12.21 MB / 0.7136 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 7.052e-05/0.009607, allocations: 121.4 kB / 0.7375 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.009628, allocations: 16.73 kB / 0.7375 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.009774, allocations: 113.8 kB / 0.7376 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.009776, allocations: 0 / 0.7376 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.009779, allocations: 4 kB / 0.7376 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.009785, allocations: 3.984 kB / 0.7376 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.009895, allocations: 135.2 kB / 0.7378 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.009899, allocations: 7.984 kB / 0.7378 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.00995, allocations: 15.94 kB / 0.7378 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.01, allocations: 35.75 kB / 0.7378 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01, allocations: 7.25 kB / 0.7378 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.01001, allocations: 0 / 0.7378 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.01001, allocations: 4 kB / 0.7378 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01001, allocations: 0 / 0.7378 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.976e-05/0.01011, allocations: 119.5 kB / 0.738 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.01013, allocations: 3.938 kB / 0.738 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/0.01019, allocations: 4 kB / 0.738 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.01021, allocations: 11.98 kB / 0.738 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.01021, allocations: 3.938 kB / 0.738 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001114/0.01032, allocations: 151.7 kB / 0.7381 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01032, allocations: 0 / 0.7381 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003154/0.01064, allocations: 103.9 kB / 0.7382 GB, free: 11.32 MB / 0.7136 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.002732/0.01337, allocations: 2.798 MB / 0.741 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.01352, allocations: 64.75 kB / 0.741 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.01353, allocations: 4 kB / 0.741 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.01357, allocations: 32.72 kB / 0.7411 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.01389, allocations: 462.8 kB / 0.7415 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.01596, allocations: 0.5258 MB / 0.742 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.713e-05/0.01602, allocations: 103.9 kB / 0.7421 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.249e-05/0.01608, allocations: 21.62 kB / 0.7421 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.01622, allocations: 107.3 kB / 0.7422 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of SimCode: time 1.233e-06/0.01622, allocations: 0 / 0.7422 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of Templates: time 0.008886/0.02511, allocations: 8.221 MB / 0.7503 GB, free: 15.05 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.002873211167753]