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.0009333/0.0009333, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009394/0.0009394, allocations: 161.4 kB / 24.17 MB, free: 328 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.9088/0.9088, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.802/1.802, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.253e-06/1.253e-06, allocations: 0 / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.49e-05, allocations: 2.312 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001866/0.00188, allocations: 1.646 MB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003003, allocations: 0.9416 MB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.003066, allocations: 9.062 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.003253, allocations: 60.38 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.003601, allocations: 153.2 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.147e-05/0.003622, allocations: 11.98 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.003897, allocations: 380.3 kB / 0.7631 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.003942, allocations: 18.89 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.004159, allocations: 199.4 kB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.004289, allocations: 119.7 kB / 0.7634 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.00431, allocations: 13.59 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005202/0.00483, allocations: 0.5477 MB / 0.764 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.004884, allocations: 51.7 kB / 0.764 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.004954, allocations: 85.03 kB / 0.7641 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.005688, allocations: 0.8735 MB / 0.7649 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.00569, allocations: 3.938 kB / 0.7649 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005691, allocations: 1 kB / 0.7649 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.005694, allocations: 0 / 0.7649 GB, free: 1.605 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.0006983/0.006392, allocations: 0.5256 MB / 0.7655 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.006421, allocations: 8.031 kB / 0.7655 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.006462, allocations: 16.92 kB / 0.7655 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.006695, allocations: 257.6 kB / 0.7657 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.006704, allocations: 8.312 kB / 0.7657 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.006717, allocations: 4.375 kB / 0.7657 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.006794, allocations: 62.61 kB / 0.7658 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.006799, allocations: 192 / 0.7658 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.006808, allocations: 1.312 kB / 0.7658 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.006814, allocations: 7.938 kB / 0.7658 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/0.006838, allocations: 16.66 kB / 0.7658 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.007201, allocations: 104.3 kB / 0.7659 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.244e-05/0.007263, allocations: 78.41 kB / 0.766 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.007291, allocations: 28.17 kB / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.007302, allocations: 4.5 kB / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.007321, allocations: 38 kB / 0.7661 GB, free: 328 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.007322, allocations: 0 / 0.7661 GB, free: 328 kB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001281/0.00745, allocations: 73.53 kB / 0.7661 GB, free: 248 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.007493, allocations: 128.5 kB / 0.7663 GB, free: 88 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.00771, allocations: 339.3 kB / 0.7666 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.007723, allocations: 25.7 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.007772, allocations: 129 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.007791, allocations: 22.58 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.007835, allocations: 45.62 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.007914, allocations: 350.7 kB / 0.7671 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-05/0.007952, allocations: 26.77 kB / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.008032, allocations: 174.5 kB / 0.7673 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.008119, allocations: 90.66 kB / 0.7674 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008121, allocations: 0 / 0.7674 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00012/0.008241, allocations: 121.5 kB / 0.7675 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.008251, allocations: 5.469 kB / 0.7675 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.008258, allocations: 0 / 0.7675 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.008267, allocations: 4 kB / 0.7675 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.008336, allocations: 19.92 kB / 0.7676 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.008339, allocations: 0.5625 kB / 0.7676 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.008419, allocations: 19.83 kB / 0.7676 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.00843, allocations: 10.58 kB / 0.7676 GB, free: 14.62 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 6.465e-05/0.008494, allocations: 120.7 kB / 0.7677 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.008516, allocations: 15.98 kB / 0.7677 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.008649, allocations: 110.7 kB / 0.7678 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.008653, allocations: 4 kB / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.008654, allocations: 0 / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008657, allocations: 0 / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.008769, allocations: 145.6 kB / 0.768 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.008771, allocations: 4 kB / 0.768 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.00881, allocations: 15.98 kB / 0.768 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.008812, allocations: 0 / 0.768 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.008818, allocations: 9.062 kB / 0.768 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.00882, allocations: 3.938 kB / 0.768 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008821, allocations: 0 / 0.768 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/0.008904, allocations: 109 kB / 0.7681 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.008961, allocations: 43.73 kB / 0.7681 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.008985, allocations: 4 kB / 0.7681 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.009038, allocations: 5.438 kB / 0.7681 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.009054, allocations: 15.86 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.009057, allocations: 0 / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001077/0.009165, allocations: 148.7 kB / 0.7683 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009165, allocations: 0.5312 kB / 0.7683 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002683/0.009434, allocations: 112.4 kB / 0.7684 GB, free: 13.71 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.002693/0.01213, allocations: 2.784 MB / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01224, allocations: 70.3 kB / 0.7712 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.01225, allocations: 4 kB / 0.7712 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.01227, allocations: 24.8 kB / 0.7712 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.01244, allocations: 49.88 kB / 0.7713 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.01312, allocations: 0.5023 MB / 0.7718 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.682e-05/0.01318, allocations: 103.9 kB / 0.7719 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.372e-05/0.01323, allocations: 29.94 kB / 0.7719 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.01337, allocations: 107.3 kB / 0.772 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.01337, allocations: 0 / 0.772 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.008568/0.02194, allocations: 8.01 MB / 0.7798 GB, free: 2.176 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 -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: 4.950886966660619]