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.0009166/0.0009166, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001477/0.001477, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.8466/0.8466, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.22/2.22, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 1.553e-06/1.553e-06, allocations: 0 / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.431e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002693/0.002717, allocations: 1.643 MB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.004142, allocations: 0.9268 MB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.004231, allocations: 4 kB / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.004477, allocations: 51.62 kB / 0.8923 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000487/0.004964, allocations: 151.1 kB / 0.8924 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.536e-05/0.004999, allocations: 11.98 kB / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000657/0.005656, allocations: 385.9 kB / 0.8928 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.735e-05/0.005713, allocations: 12.94 kB / 0.8928 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.006086, allocations: 203.5 kB / 0.893 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.006373, allocations: 119.7 kB / 0.8931 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.006416, allocations: 16 kB / 0.8931 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005951/0.007012, allocations: 0.5515 MB / 0.8937 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.007064, allocations: 51.72 kB / 0.8937 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.131e-05/0.007146, allocations: 79.77 kB / 0.8938 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009216/0.008067, allocations: 0.8813 MB / 0.8947 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.00807, allocations: 0 / 0.8947 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.263e-06/0.008071, allocations: 0 / 0.8947 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.008075, allocations: 0 / 0.8947 GB, free: 4.703 MB / 0.8542 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.0007475/0.008822, allocations: 0.6898 MB / 0.8953 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.008857, allocations: 8.031 kB / 0.8953 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.008902, allocations: 32.75 kB / 0.8954 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.009134, allocations: 267.6 kB / 0.8956 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.009143, allocations: 4.375 kB / 0.8956 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.009153, allocations: 12.31 kB / 0.8956 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.459e-05/0.009238, allocations: 80.91 kB / 0.8957 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.009244, allocations: 4.188 kB / 0.8957 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.009251, allocations: 4.375 kB / 0.8957 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.009255, allocations: 3.938 kB / 0.8957 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.009279, allocations: 15.92 kB / 0.8957 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.009455, allocations: 216.3 kB / 0.8959 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.00964, allocations: 108.2 kB / 0.896 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.009671, allocations: 34.94 kB / 0.8961 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.009686, allocations: 4 kB / 0.8961 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.00971, allocations: 45.33 kB / 0.8961 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.009711, allocations: 4 kB / 0.8961 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001529/0.009864, allocations: 97.31 kB / 0.8962 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.009904, allocations: 132.5 kB / 0.8964 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.01018, allocations: 486.4 kB / 0.8968 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.0102, allocations: 29.7 kB / 0.8968 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.0103, allocations: 243 kB / 0.8971 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.01032, allocations: 19.83 kB / 0.8971 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.01037, allocations: 63.84 kB / 0.8972 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.0105, allocations: 0.543 MB / 0.8977 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.01052, allocations: 15.98 kB / 0.8977 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.01062, allocations: 208.2 kB / 0.8979 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.0107, allocations: 86.72 kB / 0.898 GB, free: 0.9258 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.0107, allocations: 0 / 0.898 GB, free: 0.9258 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001367/0.01084, allocations: 145.3 kB / 0.8981 GB, free: 0.7773 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.01085, allocations: 8 kB / 0.8981 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01086, allocations: 0 / 0.8981 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.01087, allocations: 3.938 kB / 0.8981 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.01094, allocations: 15.98 kB / 0.8981 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.01094, allocations: 4 kB / 0.8982 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.01101, allocations: 23.83 kB / 0.8982 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.01102, allocations: 4 kB / 0.8982 GB, free: 0.7188 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 6.963e-05/0.01109, allocations: 160.5 kB / 0.8983 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.01112, allocations: 35.81 kB / 0.8984 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.01126, allocations: 112 kB / 0.8985 GB, free: 412 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01126, allocations: 7.922 kB / 0.8985 GB, free: 404 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01126, allocations: 4 kB / 0.8985 GB, free: 400 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01127, allocations: 4.062 kB / 0.8985 GB, free: 396 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.0114, allocations: 205 kB / 0.8987 GB, free: 164 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.0114, allocations: 4 kB / 0.8987 GB, free: 160 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.01144, allocations: 12 kB / 0.8987 GB, free: 148 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01144, allocations: 0 / 0.8987 GB, free: 148 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.01144, allocations: 0 / 0.8987 GB, free: 148 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01145, allocations: 4 kB / 0.8987 GB, free: 144 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.01145, allocations: 0 / 0.8987 GB, free: 144 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.01157, allocations: 167.1 kB / 0.8989 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.01162, allocations: 39.8 kB / 0.8989 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.01164, allocations: 11.94 kB / 0.8989 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.132e-05/0.01169, allocations: 4 kB / 0.8989 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.01171, allocations: 8 kB / 0.8989 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.01171, allocations: 4 kB / 0.8989 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001505/0.01186, allocations: 298.9 kB / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01186, allocations: 0 / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002709/0.01213, allocations: 103.9 kB / 0.8993 GB, free: 15.48 MB / 0.8698 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.002834/0.01497, allocations: 2.815 MB / 0.9021 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01509, allocations: 67.58 kB / 0.9021 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01509, allocations: 4 kB / 0.9021 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.01512, allocations: 27.62 kB / 0.9022 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01533, allocations: 53.88 kB / 0.9022 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006802/0.01601, allocations: 0.5175 MB / 0.9027 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.416e-05/0.01606, allocations: 115.9 kB / 0.9028 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.02e-05/0.01611, allocations: 22 kB / 0.9028 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.01624, allocations: 122.2 kB / 0.903 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.01624, allocations: 0 / 0.903 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of Templates: time 0.008012/0.02425, allocations: 8.147 MB / 0.9109 GB, free: 3.586 MB / 0.8698 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.1826429278589785]