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.001367/0.001367, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001389/0.001389, allocations: 169.3 kB / 24.28 MB, free: 272 kB / 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.9649/0.9649, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.724/1.724, allocations: 359 MB / 0.6055 GB, free: 11.03 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.282e-06/1.282e-06, allocations: 0 / 0.7871 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.755e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001843/0.001861, allocations: 1.64 MB / 0.7887 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.002917, allocations: 0.9273 MB / 0.7896 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.002995, allocations: 4 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.003232, allocations: 56.83 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.003662, allocations: 151.6 kB / 0.7898 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.288e-05/0.003694, allocations: 14.81 kB / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.003997, allocations: 370.1 kB / 0.7901 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.004045, allocations: 20.92 kB / 0.7902 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.004286, allocations: 195.5 kB / 0.7903 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.004437, allocations: 133 kB / 0.7905 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.004463, allocations: 16 kB / 0.7905 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.004843, allocations: 436.9 kB / 0.7909 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.00491, allocations: 56.34 kB / 0.791 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.388e-05/0.004994, allocations: 87.72 kB / 0.791 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008057/0.0058, allocations: 0.8744 MB / 0.7919 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005802, allocations: 0 / 0.7919 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005802, allocations: 0.7188 kB / 0.7919 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.005807, allocations: 3.938 kB / 0.7919 GB, free: 7.902 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.0009272/0.006734, allocations: 0.7007 MB / 0.7926 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.006772, allocations: 12.03 kB / 0.7926 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.006838, allocations: 36.7 kB / 0.7926 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.007151, allocations: 293.1 kB / 0.7929 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.007162, allocations: 384 / 0.7929 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.007177, allocations: 8.375 kB / 0.7929 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.007281, allocations: 81.5 kB / 0.793 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007289, allocations: 6.031 kB / 0.793 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.0073, allocations: 4.375 kB / 0.793 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.007308, allocations: 3.938 kB / 0.793 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.007349, allocations: 11.92 kB / 0.793 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.0076, allocations: 294.2 kB / 0.7933 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.946e-05/0.00768, allocations: 104.4 kB / 0.7934 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.007721, allocations: 42.8 kB / 0.7934 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.007733, allocations: 0 / 0.7934 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.007756, allocations: 45.27 kB / 0.7935 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.007756, allocations: 0 / 0.7935 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000197/0.007953, allocations: 103.1 kB / 0.7936 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.008003, allocations: 136.5 kB / 0.7937 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.008374, allocations: 0.4924 MB / 0.7942 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.008391, allocations: 33.7 kB / 0.7942 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.008499, allocations: 223.2 kB / 0.7944 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.008521, allocations: 19.84 kB / 0.7945 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.008583, allocations: 67.92 kB / 0.7945 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.008723, allocations: 0.5352 MB / 0.795 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.00877, allocations: 16.67 kB / 0.7951 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.008892, allocations: 217 kB / 0.7953 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.009017, allocations: 98.67 kB / 0.7954 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.009021, allocations: 4.906 kB / 0.7954 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001997/0.00922, allocations: 145.3 kB / 0.7955 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.009236, allocations: 8 kB / 0.7955 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.009244, allocations: 1.156 kB / 0.7955 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.009265, allocations: 0 / 0.7955 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.009367, allocations: 19.98 kB / 0.7955 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.009375, allocations: 4.438 kB / 0.7955 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-05/0.009471, allocations: 20.38 kB / 0.7956 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.009484, allocations: 9.062 kB / 0.7956 GB, free: 3.781 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 9.157e-05/0.009576, allocations: 164.5 kB / 0.7957 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.00961, allocations: 40.61 kB / 0.7958 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.009808, allocations: 121.5 kB / 0.7959 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.009811, allocations: 0 / 0.7959 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.00982, allocations: 7.938 kB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.009824, allocations: 0.8125 kB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.01003, allocations: 272.4 kB / 0.7961 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01003, allocations: 2.25 kB / 0.7961 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.01008, allocations: 15.94 kB / 0.7962 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01009, allocations: 0 / 0.7962 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.0101, allocations: 7.984 kB / 0.7962 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.0101, allocations: 0 / 0.7962 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.0101, allocations: 4 kB / 0.7962 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.01027, allocations: 165.2 kB / 0.7963 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.01034, allocations: 55.72 kB / 0.7964 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.01037, allocations: 8 kB / 0.7964 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.01044, allocations: 7.984 kB / 0.7964 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.01046, allocations: 11.92 kB / 0.7964 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.01047, allocations: 4.5 kB / 0.7964 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002407/0.01071, allocations: 323 kB / 0.7967 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01071, allocations: 1.844 kB / 0.7967 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003312/0.01104, allocations: 99.88 kB / 0.7968 GB, free: 2.422 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.002754/0.0138, allocations: 2.811 MB / 0.7996 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.01398, allocations: 89.41 kB / 0.7996 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01398, allocations: 0 / 0.7996 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.01401, allocations: 23.69 kB / 0.7997 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01426, allocations: 63.69 kB / 0.7997 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.01508, allocations: 0.5251 MB / 0.8002 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.01515, allocations: 116.3 kB / 0.8004 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.464e-05/0.01523, allocations: 42.28 kB / 0.8004 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.01528, allocations: 20.5 kB / 0.8004 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of SimCode: time 8.22e-07/0.01528, allocations: 0 / 0.8004 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of Templates: time 0.008798/0.02408, allocations: 7.962 MB / 0.8082 GB, free: 6.785 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: 5.255376865155995]