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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 199.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 1.109 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7291/0.7312, allocations: 168.7 MB / 1.274 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00286/0.734, allocations: 1.603 MB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.7355, allocations: 0.9323 MB / 1.277 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.7356, allocations: 8 kB / 1.277 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.7358, allocations: 59.66 kB / 1.277 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.7363, allocations: 139.3 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.302e-05/0.7363, allocations: 12 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00047/0.7368, allocations: 366.2 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.253e-05/0.7368, allocations: 12.75 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.737, allocations: 151.4 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.7373, allocations: 143.3 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.7373, allocations: 12 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007437/0.738, allocations: 0.5319 MB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.7381, allocations: 55.72 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.7383, allocations: 131.3 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.7396, allocations: 0.8445 MB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7396, allocations: 0 / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7396, allocations: 0 / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7396, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 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.001524/0.7411, allocations: 0.6652 MB / 1.28 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.7412, allocations: 8.031 kB / 1.28 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.7413, allocations: 36.7 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.7418, allocations: 378.7 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.7418, allocations: 384 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.7419, allocations: 4.375 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.742, allocations: 101.4 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.7421, allocations: 3.938 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.7421, allocations: 8 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.7421, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.7422, allocations: 67.92 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.7426, allocations: 344 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.7428, allocations: 102.4 kB / 1.281 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.783e-05/0.7428, allocations: 67.39 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.7429, allocations: 0 / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.7429, allocations: 42.44 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.7429, allocations: 7.938 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003638/0.7433, allocations: 185.3 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.7433, allocations: 132.5 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/0.744, allocations: 0.5014 MB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.744, allocations: 29.7 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.7441, allocations: 156.9 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.7442, allocations: 19.88 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.7442, allocations: 45.7 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.7444, allocations: 346.8 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.7446, allocations: 103.9 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.7448, allocations: 153.5 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.7451, allocations: 243.2 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.7451, allocations: 0 / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005268/0.7456, allocations: 293.3 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7456, allocations: 7.938 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.7457, allocations: 4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.7457, allocations: 3.938 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.7458, allocations: 15.98 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7458, allocations: 4 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.746, allocations: 23.88 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.746, allocations: 8 kB / 1.283 GB, free: 11.19 MB / 0.9825 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.0001828/0.7462, allocations: 177.8 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.7462, allocations: 39.7 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.7466, allocations: 187.9 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.7466, allocations: 7.938 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7466, allocations: 128 / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7466, allocations: 7.984 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.7469, allocations: 289.5 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7469, allocations: 0 / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.747, allocations: 15.94 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.747, allocations: 7.938 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.747, allocations: 4 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.747, allocations: 7.984 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.747, allocations: 0 / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.7473, allocations: 191.3 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.7475, allocations: 136.8 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.7475, allocations: 3.938 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.7477, allocations: 15.97 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.7477, allocations: 4 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.7477, allocations: 4 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004768/0.7482, allocations: 383 kB / 1.284 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7482, allocations: 0 / 1.284 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004699/0.7486, allocations: 99.88 kB / 1.284 GB, free: 9.527 MB / 0.9825 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.004756/0.7534, allocations: 2.808 MB / 1.287 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.7537, allocations: 159.8 kB / 1.287 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7538, allocations: 0 / 1.287 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.7538, allocations: 43.91 kB / 1.287 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.7542, allocations: 65.66 kB / 1.287 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.7552, allocations: 0.603 MB / 1.288 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.7557, allocations: 0.8181 MB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.7558, allocations: 54.28 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.7559, allocations: 19.44 kB / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.7559, allocations: 0 / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.01321/0.7691, allocations: 7.639 MB / 1.296 GB, free: 13.28 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.547065230086446]