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.00113/0.00113, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001205/0.001205, allocations: 181 kB / 24.09 MB, free: 424 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.9055/0.9055, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.649/1.649, allocations: 359 MB / 0.6055 GB, free: 10.86 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.603e-06/1.603e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.964e-05, allocations: 4.281 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002835/0.002864, allocations: 1.627 MB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.004291, allocations: 0.9241 MB / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.004386, allocations: 3.938 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.004647, allocations: 56.33 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.005139, allocations: 154.5 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.693e-05/0.005176, allocations: 11.98 kB / 0.7902 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.005559, allocations: 374.1 kB / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.005612, allocations: 16.92 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.005982, allocations: 208 kB / 0.7908 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.006172, allocations: 123.7 kB / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.00621, allocations: 12.59 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007108/0.006921, allocations: 0.5454 MB / 0.7915 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.007014, allocations: 51.69 kB / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.007115, allocations: 83.78 kB / 0.7916 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.008575, allocations: 0.8696 MB / 0.7924 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.008579, allocations: 4.688 kB / 0.7924 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.482e-06/0.008581, allocations: 0 / 0.7924 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.008585, allocations: 1.188 kB / 0.7925 GB, free: 7.16 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.0008786/0.009464, allocations: 0.6835 MB / 0.7931 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.009505, allocations: 13.62 kB / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.009555, allocations: 36.7 kB / 0.7932 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.00981, allocations: 268.2 kB / 0.7934 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.009821, allocations: 8.375 kB / 0.7934 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.009832, allocations: 6.344 kB / 0.7934 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.009925, allocations: 76.92 kB / 0.7935 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.009932, allocations: 4.188 kB / 0.7935 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.009939, allocations: 384 / 0.7935 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.009945, allocations: 3.938 kB / 0.7935 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.009969, allocations: 12.52 kB / 0.7935 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.01017, allocations: 217 kB / 0.7937 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.637e-05/0.01025, allocations: 109.5 kB / 0.7938 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.01028, allocations: 46.8 kB / 0.7939 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.0103, allocations: 0 / 0.7939 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.01031, allocations: 38.02 kB / 0.7939 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.01032, allocations: 1.125 kB / 0.7939 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001632/0.01048, allocations: 98.16 kB / 0.794 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.01052, allocations: 132.5 kB / 0.7941 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.01081, allocations: 491 kB / 0.7946 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.01082, allocations: 30.89 kB / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01093, allocations: 231.1 kB / 0.7949 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.01095, allocations: 23.83 kB / 0.7949 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.01101, allocations: 63.84 kB / 0.7949 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.01119, allocations: 0.539 MB / 0.7955 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.091e-05/0.01124, allocations: 21.05 kB / 0.7955 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.01137, allocations: 210.2 kB / 0.7957 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.01151, allocations: 98.64 kB / 0.7958 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01151, allocations: 0.9688 kB / 0.7958 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001996/0.01171, allocations: 129.4 kB / 0.7959 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01172, allocations: 4.844 kB / 0.7959 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01173, allocations: 0 / 0.7959 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.01175, allocations: 8 kB / 0.7959 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.01185, allocations: 22.14 kB / 0.7959 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.01185, allocations: 0 / 0.7959 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.01196, allocations: 23.81 kB / 0.796 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.01198, allocations: 4 kB / 0.796 GB, free: 3.203 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 0.0001003/0.01208, allocations: 160.6 kB / 0.7961 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.01212, allocations: 38.55 kB / 0.7962 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.01232, allocations: 123.9 kB / 0.7963 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01233, allocations: 0 / 0.7963 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01233, allocations: 0 / 0.7963 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01233, allocations: 7.938 kB / 0.7963 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.01254, allocations: 194.5 kB / 0.7965 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01254, allocations: 0 / 0.7965 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.01261, allocations: 15.98 kB / 0.7965 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01262, allocations: 0 / 0.7965 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.01263, allocations: 8.5 kB / 0.7965 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01263, allocations: 0.5625 kB / 0.7965 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.01263, allocations: 7.938 kB / 0.7965 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.0128, allocations: 152.6 kB / 0.7966 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.01292, allocations: 51.73 kB / 0.7967 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.01295, allocations: 0 / 0.7967 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.01304, allocations: 9.094 kB / 0.7967 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.01306, allocations: 11.92 kB / 0.7967 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.01306, allocations: 0 / 0.7967 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002427/0.0133, allocations: 303.5 kB / 0.797 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0133, allocations: 0 / 0.797 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003921/0.0137, allocations: 108.9 kB / 0.7971 GB, free: 1.965 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.002884/0.01658, allocations: 2.81 MB / 0.7999 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.01672, allocations: 75.56 kB / 0.7999 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.01673, allocations: 0 / 0.7999 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.524e-05/0.01675, allocations: 27.61 kB / 0.8 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.01699, allocations: 65.92 kB / 0.8 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.01772, allocations: 0.5135 MB / 0.8005 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.185e-05/0.01779, allocations: 115.9 kB / 0.8006 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.127e-05/0.01785, allocations: 25.98 kB / 0.8007 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.01798, allocations: 122.2 kB / 0.8008 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of SimCode: time 8.92e-07/0.01798, allocations: 0 / 0.8008 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of Templates: time 0.009082/0.02707, allocations: 8.136 MB / 0.8087 GB, free: 6.07 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.852887651883066]