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.001394/0.001394, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001569/0.001569, allocations: 161 kB / 24.17 MB, free: 332 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 1.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.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.905/1.905, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 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 1.523e-06/1.523e-06, allocations: 0.875 kB / 0.76 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.253e-05, allocations: 2.906 kB / 0.76 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002968/0.002991, allocations: 1.689 MB / 0.7617 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.004466, allocations: 0.9427 MB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.004549, allocations: 8.688 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.004811, allocations: 66.98 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.005263, allocations: 146.1 kB / 0.7628 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.578e-05/0.005299, allocations: 8 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.005696, allocations: 382.1 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.448e-05/0.00576, allocations: 16.38 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.006119, allocations: 203.4 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.006326, allocations: 128.9 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.006359, allocations: 12 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008701/0.007229, allocations: 0.5672 MB / 0.7641 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.007304, allocations: 49.02 kB / 0.7641 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.007405, allocations: 83.72 kB / 0.7642 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.008593, allocations: 0.8774 MB / 0.7651 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.008596, allocations: 3.125 kB / 0.7651 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.273e-06/0.008597, allocations: 0 / 0.7651 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.008602, allocations: 0 / 0.7651 GB, free: 1.391 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.001026/0.009628, allocations: 0.521 MB / 0.7656 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.009663, allocations: 8.031 kB / 0.7656 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.009725, allocations: 24.91 kB / 0.7656 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.01006, allocations: 252.8 kB / 0.7658 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.01007, allocations: 4.375 kB / 0.7658 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.01008, allocations: 4.375 kB / 0.7658 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.01019, allocations: 78.91 kB / 0.7659 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.0102, allocations: 192 / 0.7659 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.01021, allocations: 384 / 0.7659 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.01021, allocations: 3.938 kB / 0.7659 GB, free: 448 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.01025, allocations: 13.16 kB / 0.7659 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.01041, allocations: 103.5 kB / 0.766 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.01049, allocations: 81.44 kB / 0.7661 GB, free: 192 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.01053, allocations: 27.48 kB / 0.7661 GB, free: 152 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.01054, allocations: 0 / 0.7661 GB, free: 152 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.01057, allocations: 42.5 kB / 0.7662 GB, free: 100 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.01057, allocations: 0 / 0.7662 GB, free: 100 kB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001722/0.01074, allocations: 72.66 kB / 0.7663 GB, free: 24 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.01081, allocations: 136.5 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.01113, allocations: 335.3 kB / 0.7667 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.01115, allocations: 25.7 kB / 0.7667 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.01122, allocations: 133 kB / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.01125, allocations: 11.84 kB / 0.7669 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.01132, allocations: 53.61 kB / 0.7669 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.01153, allocations: 348.5 kB / 0.7672 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.01159, allocations: 22.81 kB / 0.7673 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.0117, allocations: 174.5 kB / 0.7674 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.01184, allocations: 90.64 kB / 0.7675 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01184, allocations: 0 / 0.7675 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001901/0.01203, allocations: 125.8 kB / 0.7676 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.01204, allocations: 8 kB / 0.7677 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01205, allocations: 2.438 kB / 0.7677 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01207, allocations: 0 / 0.7677 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01218, allocations: 23.91 kB / 0.7677 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01218, allocations: 4 kB / 0.7677 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.0123, allocations: 19.83 kB / 0.7677 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.01231, allocations: 4 kB / 0.7677 GB, free: 14.39 MB / 0.7292 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.169e-05/0.01241, allocations: 115.4 kB / 0.7678 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.01244, allocations: 19.97 kB / 0.7678 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.01263, allocations: 107.7 kB / 0.7679 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.01263, allocations: 4 kB / 0.7679 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.01264, allocations: 1.562 kB / 0.7679 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01264, allocations: 0 / 0.7679 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.0128, allocations: 149.6 kB / 0.7681 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01281, allocations: 0 / 0.7681 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.01287, allocations: 12 kB / 0.7681 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01288, allocations: 1.281 kB / 0.7681 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.01289, allocations: 4 kB / 0.7681 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.01289, allocations: 11.92 kB / 0.7681 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01289, allocations: 0.7656 kB / 0.7681 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.01303, allocations: 112.4 kB / 0.7682 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.01311, allocations: 39.75 kB / 0.7683 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.01315, allocations: 4.875 kB / 0.7683 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.215e-05/0.01324, allocations: 7.984 kB / 0.7683 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.01327, allocations: 8.688 kB / 0.7683 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01327, allocations: 0 / 0.7683 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00018/0.01345, allocations: 152.7 kB / 0.7684 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01345, allocations: 1.312 kB / 0.7684 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004493/0.0139, allocations: 107.8 kB / 0.7685 GB, free: 13.49 MB / 0.7292 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.004437/0.01834, allocations: 2.791 MB / 0.7713 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.01852, allocations: 62.48 kB / 0.7713 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.01853, allocations: 4 kB / 0.7713 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.01856, allocations: 28.78 kB / 0.7713 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.01885, allocations: 57.94 kB / 0.7714 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01989, allocations: 0.5023 MB / 0.7719 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.09e-05/0.01997, allocations: 111.9 kB / 0.772 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.949e-05/0.02006, allocations: 21.64 kB / 0.772 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.02027, allocations: 99.34 kB / 0.7721 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/0.02027, allocations: 0 / 0.7721 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of Templates: time 0.01271/0.03298, allocations: 8.012 MB / 0.7799 GB, free: 1.938 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.4066311228089035]