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.0009469/0.0009469, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009406/0.0009406, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 0.8943/0.8943, allocations: 177.2 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.682/1.682, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+..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.[0-9,]+..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.106e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00203/0.002051, allocations: 1.639 MB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003131, allocations: 0.9235 MB / 0.7908 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.003203, allocations: 3.938 kB / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.003416, allocations: 55.61 kB / 0.7908 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.003796, allocations: 151.7 kB / 0.791 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.842e-05/0.003824, allocations: 13.27 kB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.004104, allocations: 379.2 kB / 0.7913 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.004146, allocations: 12.94 kB / 0.7914 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.004389, allocations: 212.3 kB / 0.7916 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.004519, allocations: 115.7 kB / 0.7917 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.00454, allocations: 12.81 kB / 0.7917 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.005059, allocations: 0.5554 MB / 0.7922 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.005122, allocations: 46.25 kB / 0.7923 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.0052, allocations: 83.77 kB / 0.7924 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007488/0.005949, allocations: 0.8812 MB / 0.7932 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.005951, allocations: 0 / 0.7932 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005952, allocations: 0 / 0.7932 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.005956, allocations: 0 / 0.7932 GB, free: 7.191 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.0008526/0.006809, allocations: 0.6764 MB / 0.7939 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.006837, allocations: 12.75 kB / 0.7939 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.006884, allocations: 36.7 kB / 0.7939 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.007113, allocations: 277.7 kB / 0.7942 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.007121, allocations: 384 / 0.7942 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.007132, allocations: 12.38 kB / 0.7942 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.285e-05/0.007215, allocations: 72.97 kB / 0.7943 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.007221, allocations: 0.7812 kB / 0.7943 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.007229, allocations: 9.156 kB / 0.7943 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.007234, allocations: 3.938 kB / 0.7943 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.007257, allocations: 13.08 kB / 0.7943 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.007436, allocations: 212.3 kB / 0.7945 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.007508, allocations: 113.7 kB / 0.7946 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.007539, allocations: 34.81 kB / 0.7946 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.007549, allocations: 4 kB / 0.7946 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.007568, allocations: 39.14 kB / 0.7947 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.007569, allocations: 0 / 0.7947 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001531/0.007722, allocations: 98.53 kB / 0.7948 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.007769, allocations: 136.5 kB / 0.7949 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.00805, allocations: 494.4 kB / 0.7954 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.008062, allocations: 27.02 kB / 0.7954 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.008171, allocations: 235.1 kB / 0.7956 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.008193, allocations: 19.83 kB / 0.7956 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.00825, allocations: 72.91 kB / 0.7957 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.008379, allocations: 0.5391 MB / 0.7962 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/0.008408, allocations: 15.98 kB / 0.7963 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.008502, allocations: 202.2 kB / 0.7964 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.181e-05/0.008593, allocations: 102.6 kB / 0.7965 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008595, allocations: 2.656 kB / 0.7965 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001486/0.008744, allocations: 133.4 kB / 0.7967 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.008754, allocations: 6.188 kB / 0.7967 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.008759, allocations: 0 / 0.7967 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.008767, allocations: 4 kB / 0.7967 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.008838, allocations: 23.92 kB / 0.7967 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.008841, allocations: 0 / 0.7967 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.008918, allocations: 20.33 kB / 0.7967 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.008927, allocations: 4.531 kB / 0.7967 GB, free: 3.234 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 7.343e-05/0.009001, allocations: 158.5 kB / 0.7969 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.009032, allocations: 43.75 kB / 0.7969 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.009179, allocations: 114.5 kB / 0.797 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009182, allocations: 4 kB / 0.797 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.009184, allocations: 0 / 0.797 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.009189, allocations: 11.92 kB / 0.797 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.009326, allocations: 197.1 kB / 0.7972 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009328, allocations: 0 / 0.7972 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.009369, allocations: 12 kB / 0.7972 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.00937, allocations: 0.875 kB / 0.7972 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.009378, allocations: 4 kB / 0.7973 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.009379, allocations: 3.938 kB / 0.7973 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00938, allocations: 0.8125 kB / 0.7973 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.009495, allocations: 164.5 kB / 0.7974 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.009553, allocations: 47.75 kB / 0.7975 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.009575, allocations: 3.938 kB / 0.7975 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.692e-05/0.009632, allocations: 7.984 kB / 0.7975 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.009648, allocations: 12.78 kB / 0.7975 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.009652, allocations: 0 / 0.7975 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001545/0.009807, allocations: 303.6 kB / 0.7978 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009807, allocations: 0 / 0.7978 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003264/0.01013, allocations: 106.9 kB / 0.7979 GB, free: 2 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.002536/0.01267, allocations: 2.807 MB / 0.8006 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01281, allocations: 71.58 kB / 0.8007 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01281, allocations: 0 / 0.8007 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.01284, allocations: 27.62 kB / 0.8007 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.01305, allocations: 63.5 kB / 0.8008 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.01372, allocations: 0.5134 MB / 0.8013 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.662e-05/0.01378, allocations: 119.9 kB / 0.8014 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.006e-05/0.01384, allocations: 22 kB / 0.8014 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.01398, allocations: 126.2 kB / 0.8015 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.01398, allocations: 0 / 0.8015 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.008911/0.02289, allocations: 8.218 MB / 0.8096 GB, free: 6.035 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.924055049195886]