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.001851/0.001851, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002305/0.002305, allocations: 213.9 kB / 22.24 MB, free: 5.262 MB / 14.72 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 0.4892 GB / 0.7943 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 74.36 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3682, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003317/0.3716, allocations: 1.562 MB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3733, allocations: 0.8606 MB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3734, allocations: 7.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.3737, allocations: 55.73 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.3742, allocations: 147.2 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.867e-05/0.3743, allocations: 11.98 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.3748, allocations: 358.3 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.421e-05/0.3749, allocations: 16.94 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.3752, allocations: 163.3 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.3755, allocations: 151.3 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.3755, allocations: 12 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.3763, allocations: 480.8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.3764, allocations: 55.7 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.3765, allocations: 103.4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.3783, allocations: 0.8419 MB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3783, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3783, allocations: 4 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.3783, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 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.001918/0.3802, allocations: 0.5821 MB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3802, allocations: 16.02 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.3804, allocations: 28.75 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.381, allocations: 328.7 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.381, allocations: 4.375 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.381, allocations: 4.375 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.3812, allocations: 105.4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3812, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3813, allocations: 4 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3813, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3814, allocations: 67.88 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3818, allocations: 263.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3819, allocations: 110.3 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.382, allocations: 63.45 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3821, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3821, allocations: 34.56 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3821, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004014/0.3825, allocations: 189.2 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.3826, allocations: 140.4 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.3833, allocations: 0.5019 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3833, allocations: 33.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.3834, allocations: 160.4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.3835, allocations: 11.89 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.282e-05/0.3835, allocations: 53.64 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3837, allocations: 346.8 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3839, allocations: 103.9 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.3841, allocations: 262.6 kB / 1.333 GB, free: 9.375 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.3845, allocations: 235.2 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3845, allocations: 4 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004598/0.3849, allocations: 301.3 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3849, allocations: 8 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.385, allocations: 8.172 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.385, allocations: 0 / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3851, allocations: 23.92 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3851, allocations: 4 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3853, allocations: 23.83 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.3853, allocations: 7.984 kB / 1.334 GB, free: 8.754 MB / 1.029 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.0001863/0.3855, allocations: 186.2 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.3856, allocations: 27.81 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.3859, allocations: 191.6 kB / 1.334 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3859, allocations: 0 / 1.334 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3859, allocations: 0 / 1.334 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3859, allocations: 4 kB / 1.334 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3862, allocations: 209.2 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3862, allocations: 4 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.3863, allocations: 19.94 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3863, allocations: 0 / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3863, allocations: 3.984 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.3863, allocations: 7.938 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3863, allocations: 4.125 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3866, allocations: 187.4 kB / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.3867, allocations: 59.69 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.3868, allocations: 4 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3869, allocations: 15.86 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.387, allocations: 15.92 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.387, allocations: 4 kB / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004719/0.3874, allocations: 379 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3874, allocations: 0 / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004971/0.3879, allocations: 99.94 kB / 1.335 GB, free: 7.289 MB / 1.029 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.004902/0.3928, allocations: 2.811 MB / 1.338 GB, free: 4.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.3932, allocations: 167.8 kB / 1.338 GB, free: 4.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3932, allocations: 3.938 kB / 1.338 GB, free: 4.297 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.798e-05/0.3933, allocations: 51.89 kB / 1.338 GB, free: 4.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3937, allocations: 49.62 kB / 1.338 GB, free: 4.195 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.395, allocations: 0.5962 MB / 1.339 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3952, allocations: 211.4 kB / 1.339 GB, free: 3.336 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.3953, allocations: 46.28 kB / 1.339 GB, free: 3.293 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.3954, allocations: 23.42 kB / 1.339 GB, free: 3.27 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.3954, allocations: 0 / 1.339 GB, free: 3.27 MB / 1.029 GB Notification: Performance of Templates: time 0.01623/0.4116, allocations: 8.265 MB / 1.347 GB, free: 11.07 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.617619715631008]