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.001395/0.001395, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001693/0.003088, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001065/0.001065, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002416, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.075/1.075, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1281/1.204, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.558/2.558, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2642/2.822, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.823e-06/1.823e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.58e-05, allocations: 5.125 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003044/0.00307, allocations: 1.691 MB / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.004052, allocations: 0.946 MB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.004121, allocations: 4 kB / 0.8209 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.004277, allocations: 63.66 kB / 0.8209 GB, free: 216 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.004595, allocations: 147.1 kB / 0.8211 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.485e-05/0.00462, allocations: 7.984 kB / 0.8211 GB, free: 60 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.00495, allocations: 386 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.606e-05/0.005006, allocations: 18.89 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.005318, allocations: 280.5 kB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.005454, allocations: 119.7 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.005478, allocations: 12 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005339/0.006011, allocations: 0.5788 MB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.006057, allocations: 31.81 kB / 0.8224 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.006126, allocations: 67.81 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007173/0.006843, allocations: 0.776 MB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.006856, allocations: 0 / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.613e-06/0.006858, allocations: 0 / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.006872, allocations: 0 / 0.8233 GB, free: 13.79 MB / 0.8073 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.0008643/0.007736, allocations: 0.6596 MB / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.007769, allocations: 11.97 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.007812, allocations: 16.92 kB / 0.8239 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.008065, allocations: 256.8 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.008078, allocations: 8.375 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.00809, allocations: 4.375 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.279e-05/0.008173, allocations: 61.67 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.008181, allocations: 4.125 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.00819, allocations: 4.375 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.008197, allocations: 7.922 kB / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.00822, allocations: 7.984 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.008336, allocations: 107.5 kB / 0.8244 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.524e-05/0.008401, allocations: 74.38 kB / 0.8244 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.008435, allocations: 31.55 kB / 0.8245 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.00845, allocations: 4 kB / 0.8245 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.008474, allocations: 46.48 kB / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.008475, allocations: 0 / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001398/0.008614, allocations: 65.59 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.008665, allocations: 136.5 kB / 0.8247 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.008875, allocations: 331.8 kB / 0.825 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.008891, allocations: 33.7 kB / 0.8251 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.008944, allocations: 121 kB / 0.8252 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.00897, allocations: 23.88 kB / 0.8252 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.009021, allocations: 41.62 kB / 0.8252 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.00911, allocations: 346.7 kB / 0.8256 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.009153, allocations: 22.83 kB / 0.8256 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.009246, allocations: 181.6 kB / 0.8258 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.992e-05/0.009336, allocations: 94.64 kB / 0.8259 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009338, allocations: 0 / 0.8259 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000123/0.009461, allocations: 124.8 kB / 0.826 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.009472, allocations: 4 kB / 0.826 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.009481, allocations: 8 kB / 0.826 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.009488, allocations: 0 / 0.826 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.009578, allocations: 19.97 kB / 0.826 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.009584, allocations: 4 kB / 0.826 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/0.00966, allocations: 19.83 kB / 0.826 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.009669, allocations: 4 kB / 0.826 GB, free: 10.62 MB / 0.8073 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 7.98e-05/0.009749, allocations: 112.6 kB / 0.8261 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.009773, allocations: 23.97 kB / 0.8262 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.009945, allocations: 111.7 kB / 0.8263 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.009948, allocations: 4 kB / 0.8263 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.00995, allocations: 0 / 0.8263 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.009954, allocations: 0 / 0.8263 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.01008, allocations: 145.7 kB / 0.8264 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01008, allocations: 0 / 0.8264 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.01013, allocations: 15.94 kB / 0.8264 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.01019, allocations: 39.75 kB / 0.8265 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01019, allocations: 0 / 0.8265 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.01019, allocations: 0 / 0.8265 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.0102, allocations: 4.125 kB / 0.8265 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0102, allocations: 4 kB / 0.8265 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.01031, allocations: 123.5 kB / 0.8266 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.01033, allocations: 7.938 kB / 0.8266 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.01039, allocations: 7.984 kB / 0.8266 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.0104, allocations: 4 kB / 0.8266 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.01041, allocations: 0 / 0.8266 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001367/0.01054, allocations: 152.7 kB / 0.8268 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01054, allocations: 0 / 0.8268 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002451/0.01079, allocations: 99.88 kB / 0.8268 GB, free: 9.715 MB / 0.8073 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.002725/0.01351, allocations: 2.801 MB / 0.8296 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.01365, allocations: 64.92 kB / 0.8296 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.01366, allocations: 7.938 kB / 0.8297 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.451e-05/0.01368, allocations: 24.84 kB / 0.8297 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.01389, allocations: 81.69 kB / 0.8298 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.01603, allocations: 0.5222 MB / 0.8303 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.395e-05/0.01609, allocations: 107.9 kB / 0.8304 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.484e-05/0.01614, allocations: 17.64 kB / 0.8304 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.01628, allocations: 103.3 kB / 0.8305 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of SimCode: time 1.192e-06/0.01628, allocations: 0 / 0.8305 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of Templates: time 0.0086/0.02488, allocations: 8.182 MB / 0.8385 GB, free: 13.81 MB / 0.823 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.ref.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.962553411722183]